From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neal Cardwell Subject: Re: [PATCH net] tcp: restore autocorking Date: Thu, 03 May 2018 14:48:53 +0000 Message-ID: References: <20180503032513.210324-1-edumazet@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: David Miller , Netdev , mwenig@vmware.com, Eric Dumazet To: Eric Dumazet Return-path: Received: from mail-wr0-f170.google.com ([209.85.128.170]:46450 "EHLO mail-wr0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751276AbeECOtL (ORCPT ); Thu, 3 May 2018 10:49:11 -0400 Received: by mail-wr0-f170.google.com with SMTP id o2-v6so15005649wrj.13 for ; Thu, 03 May 2018 07:49:11 -0700 (PDT) In-Reply-To: <20180503032513.210324-1-edumazet@google.com> Sender: netdev-owner@vger.kernel.org List-ID: On Wed, May 2, 2018 at 11:25 PM Eric Dumazet wrote: > When adding rb-tree for TCP retransmit queue, we inadvertently broke > TCP autocorking. > tcp_should_autocork() should really check if the rtx queue is not empty. ... > Fixes: 75c119afe14f ("tcp: implement rb-tree based retransmit queue") > Signed-off-by: Eric Dumazet > Reported-by: Michael Wenig > Tested-by: Michael Wenig > --- Acked-by: Neal Cardwell Nice. Thanks, Eric! neal