diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2008-09-15 11:48:46 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-15 11:48:46 -0700 |
commit | 93821778def10ec1e69aa3ac10adee975dad4ff3 (patch) | |
tree | 5cd95c0592407ac49b4f6bd9aa8ba71d93500aae /net/compat.c | |
parent | cff502a38394fd33693f6233e03fca363dfa956d (diff) |
udp: Fix rcv socket locking
The previous patch in response to the recursive locking on IPsec
reception is broken as it tries to drop the BH socket lock while in
user context.
This patch fixes it by shrinking the section protected by the
socket lock to sock_queue_rcv_skb only. The only reason we added
the lock is for the accounting which happens in that function.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions