summaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorFabio Olive Leite <fleite@redhat.com>2006-09-25 22:28:47 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-28 17:53:54 -0700
commit293b9c42511d800b5f7bb2acba50f3e584b8c410 (patch)
treebec6ae33c1e50ed5cf03a7ecf05f5bd88636c0b8 /net/ipv6
parent2ff712585a5026a021859233fce145068292584d (diff)
downloadlinux-293b9c42511d800b5f7bb2acba50f3e584b8c410.tar.bz2
[IPV6]: bh_lock_sock_nested on tcp_v6_rcv
A while ago Ingo patched tcp_v4_rcv on net/ipv4/tcp_ipv4.c to use bh_lock_sock_nested and silence a lock validator warning. This fixed it for IPv4, but recently I saw a report of the same warning on IPv6. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/tcp_ipv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c
index 2546fc9f0a78..3b6575478fcc 100644
--- a/net/ipv6/tcp_ipv6.c
+++ b/net/ipv6/tcp_ipv6.c
@@ -1237,7 +1237,7 @@ process:
skb->dev = NULL;
- bh_lock_sock(sk);
+ bh_lock_sock_nested(sk);
ret = 0;
if (!sock_owned_by_user(sk)) {
#ifdef CONFIG_NET_DMA