Re: [PATCH 4/7] [IPSEC]: Move common code into xfrm_alloc_spi

2007-10-09 Thread David Miller
From: Herbert Xu <[EMAIL PROTECTED]> Date: Tue, 09 Oct 2007 22:36:34 +0800 > [IPSEC]: Move common code into xfrm_alloc_spi > > This patch moves some common code that conceptually belongs to the xfrm core > from af_key/xfrm_user into xfrm_alloc_spi. > > In particular, the spin lock on the state i

[PATCH 4/7] [IPSEC]: Move common code into xfrm_alloc_spi

2007-10-09 Thread Herbert Xu
[IPSEC]: Move common code into xfrm_alloc_spi This patch moves some common code that conceptually belongs to the xfrm core from af_key/xfrm_user into xfrm_alloc_spi. In particular, the spin lock on the state is now taken inside xfrm_alloc_spi. Previously it also protected the construction of the