Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Oct 1997 21:09:14 -0700
From:      David Greenman <dg@root.com>
To:        Bill Fenner <fenner@FreeBSD.ORG>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/netinet tcp_output.c 
Message-ID:  <199710080409.VAA16426@implode.root.com>
In-Reply-To: Your message of "Tue, 07 Oct 1997 14:10:07 PDT." <199710072110.OAA00816@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
>fenner      1997/10/07 14:10:06 PDT
>
>  Modified files:
>    sys/netinet          tcp_output.c 
>  Log:
>  Don't allow the window to be increased beyond what is possible to
>  represent in the TCP header.  The old code did effectively:
>  	win = min(win, MAX_ALLOWED);
>  	win = max(win, what_i_think_i_advertised_last_time);
>  so if what_i_think_i_advertised_last_time is bigger than can be
>  represented in the header (e.g. large buffers and no window scaling)
>  then we stuff a too-big number into a short.  This fix reverses the
>  order of the comparisons.

   This should be brought into 2.2-stable as well. Bill?

-DG

David Greenman
Core-team/Principal Architect, The FreeBSD Project



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710080409.VAA16426>