diff options
author | Eric Dumazet <edumazet@google.com> | 2020-01-31 21:32:41 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-02-01 09:12:22 +0300 |
commit | db7ffee6f3eb3683cdcaeddecc0a630a14546fe3 (patch) | |
tree | f1b8aabc193d04584774dabc53b9b33ca3c9a9a8 /net/ipv4/ah4.c | |
parent | 2fbdd56251b5c62f96589f39eded277260de7267 (diff) | |
download | linux-db7ffee6f3eb3683cdcaeddecc0a630a14546fe3.tar.xz |
tcp: clear tp->data_segs{in|out} in tcp_disconnect()
tp->data_segs_in and tp->data_segs_out need to be cleared
in tcp_disconnect().
tcp_disconnect() is rarely used, but it is worth fixing it.
Fixes: a44d6eacdaf5 ("tcp: Add RFC4898 tcpEStatsPerfDataSegsOut/In")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Martin KaFai Lau <kafai@fb.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