[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>
Showing
- drivers/net/pppoe.c 1 addition, 1 deletiondrivers/net/pppoe.c
- include/net/sock.h 2 additions, 1 deletioninclude/net/sock.h
- net/core/sock.c 5 additions, 2 deletionsnet/core/sock.c
- net/dccp/ipv4.c 1 addition, 1 deletionnet/dccp/ipv4.c
- net/dccp/ipv6.c 1 addition, 1 deletionnet/dccp/ipv6.c
- net/decnet/dn_nsp_in.c 1 addition, 1 deletionnet/decnet/dn_nsp_in.c
Loading
Please register or sign in to comment