From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleksandr Natalenko Subject: Re: [REGRESSION] Warning in tcp_fastretrans_alert() of net/ipv4/tcp_input.c Date: Fri, 10 Nov 2017 14:40:08 +0100 Message-ID: <69896e07d730f8de13f7461b335f01b0@natalenko.name> References: <20170921014620.GA20906@castle> <2325466.Xo6SG5M5hd@natalenko.name> <20171026020724.bgobtktvcpkhco4h@ast-mbp> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Cc: Eric Dumazet , Alexei Starovoitov , Roman Gushchin , netdev , Neal Cardwell , "David S. Miller" , Lawrence Brakmo To: Yuchung Cheng Return-path: Received: from vulcan.natalenko.name ([104.207.131.136]:14040 "EHLO vulcan.natalenko.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752861AbdKJNkJ (ORCPT ); Fri, 10 Nov 2017 08:40:09 -0500 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: Uhh, sorry, just found the original submission [1]. [1] https://marc.info/?l=linux-netdev&m=151009763926816&w=2 10.11.2017 14:15, Oleksandr Natalenko wrote: > Hi. > > I'm running the machine with this patch applied for 7 hours now, and > the warning hasn't appeared yet. Typically, it should be there within > the first hour. > > I'll keep an eye on it for a longer time, but as of now it looks good. > > Some explanation on this please? > > Thanks! > > 06.11.2017 23:27, Yuchung Cheng wrote: > ...snip... >> hi guys can you try if the warning goes away w/ this quick fix? >> >> >> diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c >> index 0ada8bfc2ebd..072aab2a8226 100644 >> --- a/net/ipv4/tcp_input.c >> +++ b/net/ipv4/tcp_input.c >> @@ -2626,7 +2626,7 @@ void tcp_simple_retransmit(struct sock *sk) >> >> tcp_clear_retrans_hints_partial(tp); >> >> - if (prior_lost == tp->lost_out) >> + if (!tp->lost_out) >> return; >> >> if (tcp_is_reno(tp)) > ...snip...