aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tcp.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-11-04 11:54:31 -0700
committerDavid S. Miller <davem@davemloft.net>2016-11-09 13:02:27 -0500
commitccbf3bfaee0e4f1ddf8103884fd4bf9f35f31f08 (patch)
tree79f67165da33ac53041d93d3f76f7150ebf68dae /include/linux/tcp.h
parentMerge branch 'Meson-GXL-internal-phy' (diff)
downloadlinux-dev-ccbf3bfaee0e4f1ddf8103884fd4bf9f35f31f08.tar.xz
linux-dev-ccbf3bfaee0e4f1ddf8103884fd4bf9f35f31f08.zip
tcp: shortcut listeners in tcp_get_info()
Being lockless in tcp_get_info() is hard, because we need to add specific synchronization in TCP fast path, like seqcount. Following patch will change inet_diag_dump_icsk() to no longer hold any lock for non listeners, so that we can properly acquire socket lock in get_tcp_info() and let it return more consistent counters. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Yuchung Cheng <ycheng@google.com> Acked-by: Soheil Hassas Yeganeh <soheil@google.com> Acked-by: Neal Cardwell <ncardwell@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/tcp.h')
0 files changed, 0 insertions, 0 deletions