aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_vegas.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-10-19 21:24:58 -0700
committerDavid S. Miller <davem@davemloft.net>2016-10-20 11:24:32 -0400
commit9652dc2eb9e40d100e0a3abfdcc0ea852c8be254 (patch)
treee3efd14c1b27eba8a65381fa769023fb9f473831 /net/ipv4/tcp_vegas.h
parentnet: smc91x: fix neponset breakage by pxa u16 writes (diff)
downloadlinux-dev-9652dc2eb9e40d100e0a3abfdcc0ea852c8be254.tar.xz
linux-dev-9652dc2eb9e40d100e0a3abfdcc0ea852c8be254.zip
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>
Diffstat (limited to 'net/ipv4/tcp_vegas.h')
0 files changed, 0 insertions, 0 deletions