diff options
author | Eric Dumazet <[email protected]> | 2016-11-04 11:54:31 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-11-09 13:02:27 -0500 |
commit | ccbf3bfaee0e4f1ddf8103884fd4bf9f35f31f08 (patch) | |
tree | 79f67165da33ac53041d93d3f76f7150ebf68dae /scripts/gcc-plugins/gcc-common.h | |
parent | 721ad32144bd8c09dc70fe03b470b44e79fbbef5 (diff) |
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 <[email protected]>
Signed-off-by: Yuchung Cheng <[email protected]>
Acked-by: Soheil Hassas Yeganeh <[email protected]>
Acked-by: Neal Cardwell <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions