aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/ip_gre.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-04-01 08:52:15 -0700
committerDavid S. Miller <davem@davemloft.net>2016-04-04 22:11:19 -0400
commit2d331915a04144dad738e725769d8fac06ef6155 (patch)
tree5bf80c73627b0783603e8a46573db2cf50041280 /net/ipv4/ip_gre.c
parenttcp/dccp: remove BH disable/enable in lookup (diff)
downloadlinux-dev-2d331915a04144dad738e725769d8fac06ef6155.tar.xz
linux-dev-2d331915a04144dad738e725769d8fac06ef6155.zip
tcp/dccp: use rcu locking in inet_diag_find_one_icsk()
RX packet processing holds rcu_read_lock(), so we can remove pairs of rcu_read_lock()/rcu_read_unlock() in lookup functions if inet_diag also holds rcu before calling them. This is needed anyway as __inet_lookup_listener() and inet6_lookup_listener() will soon no longer increment refcount on the found listener. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_gre.c')
0 files changed, 0 insertions, 0 deletions