From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net] tcp: fix RTO calculated from cached RTT Date: Tue, 17 Sep 2013 19:08:56 -0400 (EDT) Message-ID: <20130917.190856.2130564126373837332.davem@davemloft.net> References: <1379382260-29303-1-git-send-email-ncardwell@google.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: ncardwell@google.com, netdev@vger.kernel.org, edumazet@google.com To: ycheng@google.com Return-path: Received: from shards.monkeyblade.net ([149.20.54.216]:43443 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754343Ab3IQXJC (ORCPT ); Tue, 17 Sep 2013 19:09:02 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: From: Yuchung Cheng Date: Tue, 17 Sep 2013 07:32:38 -0700 > On Mon, Sep 16, 2013 at 6:44 PM, Neal Cardwell wrote: >> Commit 1b7fdd2ab5852 ("tcp: do not use cached RTT for RTT estimation") >> did not correctly account for the fact that crtt is the RTT shifted >> left 3 bits. Fix the calculation to consistently reflect this fact. >> >> Signed-off-by: Neal Cardwell >> Cc: Eric Dumazet >> Cc: Yuchung Cheng >> --- >> net/ipv4/tcp_metrics.c | 4 +++- >> 1 file changed, 3 insertions(+), 1 deletion(-) > Acked-By: Yuchung Cheng > > Thanks for discovering and fixing it! Applied, thanks everyone.