diff options
author | Eric Dumazet <edumazet@google.com> | 2020-01-31 21:44:50 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-02-01 09:12:37 +0300 |
commit | 784f8344de750a41344f4bbbebb8507a730fc99c (patch) | |
tree | 6473ac3d3b5bb7bbb10e64c6a36eca467d71a088 /net/ipv4/ah4.c | |
parent | db7ffee6f3eb3683cdcaeddecc0a630a14546fe3 (diff) | |
download | linux-784f8344de750a41344f4bbbebb8507a730fc99c.tar.xz |
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 'net/ipv4/ah4.c')
0 files changed, 0 insertions, 0 deletions