summaryrefslogtreecommitdiffstats
path: root/net/ipv6/inet6_hashtables.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-04-01 08:52:14 -0700
committerDavid S. Miller <davem@davemloft.net>2016-04-04 22:11:19 -0400
commitee3cf32a4a5e6cf5ccc0f0de9865fda3ebc46436 (patch)
treee19b9e382259b432a9ca05fe84c38541814c87c2 /net/ipv6/inet6_hashtables.c
parentca065d0cf80fa547724440a8bf37f1e674d917c0 (diff)
downloadlinux-0-day-ee3cf32a4a5e6cf5ccc0f0de9865fda3ebc46436.tar.gz
linux-0-day-ee3cf32a4a5e6cf5ccc0f0de9865fda3ebc46436.tar.xz
tcp/dccp: remove BH disable/enable in lookup
Since linux 2.6.29, lookups only use rcu locking. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/inet6_hashtables.c')
-rw-r--r--net/ipv6/inet6_hashtables.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv6/inet6_hashtables.c b/net/ipv6/inet6_hashtables.c
index 70f2628be6fac..d253f32874c90 100644
--- a/net/ipv6/inet6_hashtables.c
+++ b/net/ipv6/inet6_hashtables.c
@@ -200,10 +200,8 @@ struct sock *inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo,
{
struct sock *sk;
- local_bh_disable();
sk = __inet6_lookup(net, hashinfo, skb, doff, saddr, sport, daddr,
ntohs(dport), dif);
- local_bh_enable();
return sk;
}