From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH v2 net-next] tcp: fix ABC in tcp_slow_start() Date: Fri, 20 Jul 2012 11:01:52 -0700 (PDT) Message-ID: <20120720.110152.1959842625155766788.davem@davemloft.net> References: <1342796553.2626.7389.camel@edumazet-glaptop> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: ycheng@google.com, eric.dumazet@gmail.com, netdev@vger.kernel.org, therbert@google.com, shemminger@vyatta.com, johnwheffner@gmail.com, nanditad@google.com To: ncardwell@google.com Return-path: Received: from shards.monkeyblade.net ([149.20.54.216]:54257 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753326Ab2GTSBx (ORCPT ); Fri, 20 Jul 2012 14:01:53 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: From: Neal Cardwell Date: Fri, 20 Jul 2012 10:58:27 -0700 > On Fri, Jul 20, 2012 at 8:07 AM, Yuchung Cheng wrote: >> On Fri, Jul 20, 2012 at 8:02 AM, Eric Dumazet wrote: >>> From: Eric Dumazet >>> >>> When/if sysctl_tcp_abc > 1, we expect to increase cwnd by 2 if the >>> received ACK acknowledges more than 2*MSS bytes, in tcp_slow_start() >>> >>> Problem is this RFC 3465 statement is not correctly coded, as >>> the while () loop increases snd_cwnd one by one. >>> >>> Add a new variable to avoid this off-by one error. >>> >>> Signed-off-by: Eric Dumazet >> Acked-by: Yuchung Cheng > > Acked-by: Neal Cardwell Applied.