Home
last modified time | relevance | path

Searched hist:"9652 dc2eb9e40d100e0a3abfdcc0ea852c8be254" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/net/ipv4/
H A Dinet_diag.cdiff 9652dc2eb9e40d100e0a3abfdcc0ea852c8be254 Wed Oct 19 23:24:58 CDT 2016 Eric Dumazet <edumazet@google.com> tcp: relax listening_hash operations

softirq handlers use RCU protection to lookup listeners,
and write operations all happen from process context.
We do not need to block BH for dump operations.

Also SYN_RECV since request sockets are stored in the ehash table :

1) inet_diag_dump_icsk() no longer need to clear
cb->args[3] and cb->args[4] that were used as cursors while
iterating the old per listener hash table.

2) Also factorize a test : No need to scan listening_hash[]
if r->id.idiag_dport is not zero.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Dtcp_ipv4.cdiff 9652dc2eb9e40d100e0a3abfdcc0ea852c8be254 Wed Oct 19 23:24:58 CDT 2016 Eric Dumazet <edumazet@google.com> tcp: relax listening_hash operations

softirq handlers use RCU protection to lookup listeners,
and write operations all happen from process context.
We do not need to block BH for dump operations.

Also SYN_RECV since request sockets are stored in the ehash table :

1) inet_diag_dump_icsk() no longer need to clear
cb->args[3] and cb->args[4] that were used as cursors while
iterating the old per listener hash table.

2) Also factorize a test : No need to scan listening_hash[]
if r->id.idiag_dport is not zero.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>