]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IPSEC]: Move state lock into x->type->output
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 9 Oct 2007 20:33:35 +0000 (13:33 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:55:03 +0000 (16:55 -0700)
commitb7c6538cd84f8072fad43bfce530f5bf695edbba
treee0ba79ffe7b79355985a45de9961b17a0462764f
parent050f009e16f908932070313c1745d09dc69fd62b
[IPSEC]: Move state lock into x->type->output

This patch releases the lock on the state before calling x->type->output.
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_output.c