[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)
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>

No differences found