From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neal Cardwell Subject: Re: [PATCH net] tcp: use current time in tcp_rcv_space_adjust() Date: Wed, 6 Dec 2017 14:54:09 -0500 Message-ID: References: <1512587299.25033.11.camel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: David Miller , netdev , Wei Wang , Yuchung Cheng To: Eric Dumazet Return-path: Received: from mail-wr0-f180.google.com ([209.85.128.180]:39884 "EHLO mail-wr0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752150AbdLFTyb (ORCPT ); Wed, 6 Dec 2017 14:54:31 -0500 Received: by mail-wr0-f180.google.com with SMTP id a41so5143301wra.6 for ; Wed, 06 Dec 2017 11:54:31 -0800 (PST) In-Reply-To: <1512587299.25033.11.camel@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: On Wed, Dec 6, 2017 at 2:08 PM, Eric Dumazet wrote: > From: Eric Dumazet > > When I switched rcv_rtt_est to high resolution timestamps, I forgot > that tp->tcp_mstamp needed to be refreshed in tcp_rcv_space_adjust() > > Using an old timestamp leads to autotuning lags. > > Fixes: 645f4c6f2ebd ("tcp: switch rcv_rtt_est and rcvq_space to high resolution timestamps") > Signed-off-by: Eric Dumazet > Cc: Wei Wang > Cc: Neal Cardwell > Cc: Yuchung Cheng > --- Acked-by: Neal Cardwell neal