commit | b7c6538cd84f8072fad43bfce530f5bf695edbba | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Tue Oct 09 13:33:35 2007 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Wed Oct 10 16:55:03 2007 -0700 |
tree | e0ba79ffe7b79355985a45de9961b17a0462764f | |
parent | 050f009e16f908932070313c1745d09dc69fd62b [diff] |
[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>