diff options
author | 2020-01-31 10:44:50 -0800 | |
---|---|---|
committer | 2020-01-31 22:12:37 -0800 | |
commit | 784f8344de750a41344f4bbbebb8507a730fc99c (patch) | |
tree | 6473ac3d3b5bb7bbb10e64c6a36eca467d71a088 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tcp: clear tp->data_segs{in|out} in tcp_disconnect() (diff) | |
download | wireguard-linux-784f8344de750a41344f4bbbebb8507a730fc99c.tar.xz wireguard-linux-784f8344de750a41344f4bbbebb8507a730fc99c.zip |
tcp: clear tp->segs_{in|out} in tcp_disconnect()
tp->segs_in and tp->segs_out need to be cleared in tcp_disconnect().
tcp_disconnect() is rarely used, but it is worth fixing it.
Fixes: 2efd055c53c0 ("tcp: add tcpi_segs_in and tcpi_segs_out to tcp_info")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Marcelo Ricardo Leitner <mleitner@redhat.com>
Cc: Yuchung Cheng <ycheng@google.com>
Cc: Neal Cardwell <ncardwell@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions