Home
last modified time | relevance | path

Searched hist:"2 d331915a04144dad738e725769d8fac06ef6155" (Results 1 – 3 of 3) sorted by relevance

/linux/net/ipv6/
H A Dinet6_hashtables.cdiff 2d331915a04144dad738e725769d8fac06ef6155 Fri Apr 01 17:52:15 CEST 2016 Eric Dumazet <edumazet@google.com> 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>
/linux/net/ipv4/
H A Dinet_diag.cdiff 2d331915a04144dad738e725769d8fac06ef6155 Fri Apr 01 17:52:15 CEST 2016 Eric Dumazet <edumazet@google.com> 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>
H A Dinet_hashtables.cdiff 2d331915a04144dad738e725769d8fac06ef6155 Fri Apr 01 17:52:15 CEST 2016 Eric Dumazet <edumazet@google.com> 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>