Subject: Re: tcp_output fix for acking with a full send buffer
To: Darrin B.Jewell <>
From: Bill Studenmund <>
List: tech-net
Date: 09/14/2006 10:52:13
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Sep 14, 2006 at 10:34:42AM -0700, Darrin B.Jewell wrote:
> A while ago, I encountered a bug where I could get tcp to slow down
> because it couldn't get acks on the wire.  I tracked this down to
> mycroft's original fix to avoid sending more than half a buffer full.
> The fix is to never send more than (hiwat - lowat + 1)/2 instead of
> mycroft's fix of just hiwat/2.  I've had a patch in my tree for some
> time, but haven't had the time to write up a simplified test case
> demonstrating the problem.
> Does the following patch look correct?

Looks good!

Take care,


Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.4.3 (NetBSD)