From: Eric Dumazet Subject: Re: [PATCH net] tcp: clear tp->retrans_stamp in tcp_finish_connect() Date: Wed, 19 Dec 2018 15:27:19 -0800 Message-ID: <26818178-01f2-c161-ac6a-3e95572e952b@gmail.com> References: <20181219215008.58185-1-edumazet@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: netdev , Soheil Hassas Yeganeh , Neal Cardwell , Yuchung Cheng To: Eric Dumazet , "David S . Miller" Return-path: Received: from mail-wm1-f66.google.com ([209.85.128.66]:51699 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727159AbeLSX1Y (ORCPT ); Wed, 19 Dec 2018 18:27:24 -0500 Received: by mail-wm1-f66.google.com with SMTP id b11so170801wmj.1 for ; Wed, 19 Dec 2018 15:27:23 -0800 (PST) In-Reply-To: <20181219215008.58185-1-edumazet@google.com> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 12/19/2018 01:50 PM, Eric Dumazet wrote: > tcp_connect() does : > > tp->retrans_stamp = tcp_time_stamp(tp); > > When 3WHS completes, we need to clear retrans_stamp otherwise > various things can break. > > This bug became more visible after commit b701a99e431d ("tcp: Add > tcp_clamp_rto_to_user_timeout() helper to improve accuracy"), but > predates git history. > > Signed-off-by: Eric Dumazet > Acked-by: Soheil Hassas Yeganeh David please disregard this patch. tp->retrans_stamp is already cleared in tcp_clean_rtx_queue() when the SYN packet is removed from rtx queue. Thanks.