From owner-cvs-src-old@FreeBSD.ORG Fri Jun 10 18:51:36 2011 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 6833B1065672 for ; Fri, 10 Jun 2011 18:51:36 +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 573E68FC14 for ; Fri, 10 Jun 2011 18:51:36 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p5AIpaEB055639 for ; Fri, 10 Jun 2011 18:51:36 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p5AIpakt055638 for cvs-src-old@freebsd.org; Fri, 10 Jun 2011 18:51:36 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <201106101851.p5AIpakt055638@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Fri, 10 Jun 2011 18:51:22 +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: Fri, 10 Jun 2011 18:51:36 -0000 jhb 2011-06-10 18:51:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/netinet tcp_output.c Log: SVN rev 222936 on 2011-06-10 18:51:22Z by jhb MFC 220794: When checking to see if a window update should be sent to the remote peer, don't force a window update if the window would not actually grow due to window scaling. Specifically, if the window scaling factor is larger than 2 * MSS, then after the local reader has drained 2 * MSS bytes from the socket, a window update can end up advertising the same window. If this happens, the supposed window update actually ends up being a duplicate ACK. This can result in an excessive number of duplicate ACKs when using a higher maximum socket buffer size. Revision Changes Path 1.164.2.12 +8 -0 src/sys/netinet/tcp_output.c