Date: Fri, 6 Nov 2009 16:55:05 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet tcp_output.c Message-ID: <200911061655.nA6GtPoh044259@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2009-11-06 16:55:05 UTC FreeBSD src repository Modified files: sys/netinet tcp_output.c Log: SVN rev 198990 on 2009-11-06 16:55:05Z by jhb Several years ago a feature was added to TCP that casued soreceive() to send an ACK right away if data was drained from a TCP socket that had previously advertised a zero-sized window. The current code requires the receive window to be exactly zero for this to kick in. If window scaling is enabled and the window is smaller than the scale, then the effective window that is advertised is zero. However, in that case the zero-sized window handling is not enabled because the window is not exactly zero. The fix changes the code to check the raw window value against zero. Reviewed by: bz MFC after: 1 week Revision Changes Path 1.165 +1 -1 src/sys/netinet/tcp_output.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911061655.nA6GtPoh044259>