]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IPSEC]: Move state lock into x->type->input
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 14 Nov 2007 05:45:58 +0000 (21:45 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:53:52 +0000 (14:53 -0800)
commit0ebea8ef3559b545c37b016f44e84c3b33e47c39
tree7a47787c1b830084ac2d36371490b9e2574e2472
parent668dc8af3150f837f7f0461001bbbc0ce25d7bdf
[IPSEC]: Move state lock into x->type->input

This patch releases the lock on the state before calling
x->type->input.  It also adds the lock to the spots where they're
currently needed.

Most of those places (all except mip6) are expected to disappear with
async crypto.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ah4.c
net/ipv4/esp4.c
net/ipv6/ah6.c
net/ipv6/esp6.c
net/ipv6/mip6.c
net/xfrm/xfrm_input.c