Thread (3 messages) 3 messages, 3 authors, 2020-02-01

Re: [PATCH net] tcp: clear tp->segs_{in|out} in tcp_disconnect()

From: Jakub Kicinski <kuba@kernel.org>
Date: 2020-02-01 06:22:30

On Fri, 31 Jan 2020 10:44:50 -0800, Eric Dumazet wrote:
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 <redacted>
Cc: Yuchung Cheng <redacted>
Cc: Neal Cardwell <ncardwell@google.com>
Applied all 4 disconnect fixes, and queued them for stable. 

Thank you!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help