[NET]: Conditionally use bh_lock_sock_nested in sk_receive_skb
authorArnaldo Carvalho de Melo <acme@mandriva.com>
Thu, 16 Nov 2006 16:06:06 +0000 (14:06 -0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:23:51 +0000 (21:23 -0800)
commit58a5a7b9555ea231b557ebef5cabeaf8e951df0b
tree9dac36b3483e9667a967f79982c965abd707e03d
parente523a1550e877f8a8ff87a50269b7ee7bfb43464
[NET]: Conditionally use bh_lock_sock_nested in sk_receive_skb

Spotted by Ian McDonald, tentatively fixed by Gerrit Renker:

http://www.mail-archive.com/dccp%40vger.kernel.org/msg00599.html

Rewritten not to unroll sk_receive_skb, in the common case, i.e. no lock
debugging, its optimized away.

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
drivers/net/pppoe.c
include/net/sock.h
net/core/sock.c
net/dccp/ipv4.c
net/dccp/ipv6.c
net/decnet/dn_nsp_in.c