diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2008-09-15 20:48:46 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-15 20:48:46 +0200 |
commit | 93821778def10ec1e69aa3ac10adee975dad4ff3 (patch) | |
tree | 5cd95c0592407ac49b4f6bd9aa8ba71d93500aae /net/sctp/output.c | |
parent | niu: panic on reset (diff) | |
download | linux-93821778def10ec1e69aa3ac10adee975dad4ff3.tar.xz linux-93821778def10ec1e69aa3ac10adee975dad4ff3.zip |
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 '')
0 files changed, 0 insertions, 0 deletions