diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-11-14 06:39:38 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 23:53:44 +0100 |
commit | a2deb6d26f16ed7bf787dbd6a58c5d7be47d8db3 (patch) | |
tree | a8c1ef4007cd8d419aa8d8a218092b00dcd64757 /mm/truncate.c | |
parent | [IPSEC]: Forbid BEET + ipcomp for now (diff) | |
download | linux-a2deb6d26f16ed7bf787dbd6a58c5d7be47d8db3.tar.xz linux-a2deb6d26f16ed7bf787dbd6a58c5d7be47d8db3.zip |
[IPSEC]: Move x->outer_mode->output out of locked section
RO mode is the only one that requires a locked output function. So
it's easier to move the lock into that function rather than requiring
everyone else to run under the lock.
In particular, this allows us to move the size check into the output
function without causing a potential dead-lock should the ICMP error
somehow hit the same SA on transmission.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions