Re: [IPSEC]: Kill nested read lock by deleting xfrm_init_tempsel
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2005-04-06 02:21:55
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2005-04-06 02:21:55
On Tue, Apr 05, 2005 at 10:01:38PM +0200, Patrick McHardy wrote:
Good idea, I didn't think of this. This patch is without replacement of xfrm_init_tempsel(), it caused an "unused function" warning and, as I mentioned before, I still need the function.
Thanks. Just one more issue that I can think of, the check should only be done when tmpl->id.spi != 0. Otherwise the presence of valid states with differing state selectors will prevent new sessions from starting up. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt