Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756297Ab1EHWwv (ORCPT ); Sun, 8 May 2011 18:52:51 -0400 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:52518 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756266Ab1EHWwr (ORCPT ); Sun, 8 May 2011 18:52:47 -0400 Date: Sun, 08 May 2011 15:52:15 -0700 (PDT) Message-Id: <20110508.155215.242144177.davem@davemloft.net> To: shemminger@vyatta.com Cc: sangtae.ha@gmail.com, injongrhee@gmail.com, Valdis.Kletnieks@vt.edu, rdunlap@xenotime.net, lkml@techboom.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] tcp_cubic: limit delayed_ack ratio to prevent divide error From: David Miller In-Reply-To: <20110504130456.425dee68@nehalam> References: <20110504123738.7bb4d1ee@nehalam> <20110504.124053.260068550.davem@davemloft.net> <20110504130456.425dee68@nehalam> X-Mailer: Mew version 6.3 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 912 Lines: 22 From: Stephen Hemminger Date: Wed, 4 May 2011 13:04:56 -0700 > TCP Cubic keeps a metric that estimates the amount of delayed > acknowledgements to use in adjusting the window. If an abnormally > large number of packets are acknowledged at once, then the update > could wrap and reach zero. This kind of ACK could only > happen when there was a large window and huge number of > ACK's were lost. > > This patch limits the value of delayed ack ratio. The choice of 32 > is just a conservative value since normally it should be range of > 1 to 4 packets. > > Signed-off-by: Stephen Hemminger Applied, thanks Stephen. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/