summaryrefslogtreecommitdiffstats
path: root/lib/rwsem-spinlock.c
diff options
context:
space:
mode:
authorkaber@trash.net <kaber@trash.net>2005-04-07 11:31:38 -0700
committerGreg KH <gregkh@suse.de>2005-05-12 10:00:19 -0700
commit92ef2364e62254d5a36d30ffc7f447ac5358b06e (patch)
tree5ae4460c36a16d1969cd2d2508a4092926bad3e7 /lib/rwsem-spinlock.c
parent82e59799aa57d2471333bf9ebbc9b4b2226b9790 (diff)
downloadlinux-stable-92ef2364e62254d5a36d30ffc7f447ac5358b06e.tar.gz
linux-stable-92ef2364e62254d5a36d30ffc7f447ac5358b06e.tar.bz2
linux-stable-92ef2364e62254d5a36d30ffc7f447ac5358b06e.zip
[PATCH] Do not hold state lock while checking size
This patch from Herbert Xu fixes a deadlock with IPsec. When an ICMP frag. required is sent and the ICMP message needs the same SA as the packet that caused it the state will be locked twice. [IPSEC]: Do not hold state lock while checking size. This can elicit ICMP message output and thus result in a deadlock. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Chris Wright <chrisw@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/rwsem-spinlock.c')
0 files changed, 0 insertions, 0 deletions