[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200131222225.7198c45b@cakuba.hsd1.ca.comcast.net>
Date: Fri, 31 Jan 2020 22:22:25 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Eric Dumazet <edumazet@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
Neal Cardwell <ncardwell@...gle.com>,
Eric Dumazet <eric.dumazet@...il.com>,
Marcelo Ricardo Leitner <mleitner@...hat.com>,
Yuchung Cheng <ycheng@...gle.com>
Subject: Re: [PATCH net] tcp: clear tp->segs_{in|out} in tcp_disconnect()
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@...gle.com>
> Cc: Marcelo Ricardo Leitner <mleitner@...hat.com>
> Cc: Yuchung Cheng <ycheng@...gle.com>
> Cc: Neal Cardwell <ncardwell@...gle.com>
Applied all 4 disconnect fixes, and queued them for stable.
Thank you!
Powered by blists - more mailing lists