From owner-cvs-src-old@FreeBSD.ORG Tue Nov 17 16:17:27 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C69210656A3 for ; Tue, 17 Nov 2009 16:17:27 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8A36A8FC37 for ; Tue, 17 Nov 2009 16:17:27 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id nAHGHR7a032196 for ; Tue, 17 Nov 2009 16:17:27 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nAHGHRDZ032195 for cvs-src-old@freebsd.org; Tue, 17 Nov 2009 16:17:27 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200911171617.nAHGHRDZ032195@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Tue, 17 Nov 2009 16:17:11 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/netinet tcp_output.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 16:17:27 -0000 jhb 2009-11-17 16:17:11 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/netinet tcp_output.c Log: SVN rev 199400 on 2009-11-17 16:17:11Z by jhb MFC 198990: 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. Revision Changes Path 1.164.2.2 +1 -1 src/sys/netinet/tcp_output.c