From owner-cvs-src-old@FreeBSD.ORG Wed Mar 30 12:35:47 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 77365106574D for ; Wed, 30 Mar 2011 12:35:46 +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 E82F48FC0C for ; Wed, 30 Mar 2011 12:35:45 +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 p2UCZj8a046915 for ; Wed, 30 Mar 2011 12:35:45 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p2UCZj9Y046914 for cvs-src-old@freebsd.org; Wed, 30 Mar 2011 12:35:45 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <201103301235.p2UCZj9Y046914@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Wed, 30 Mar 2011 12:35:39 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet tcp_input.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: Wed, 30 Mar 2011 12:35:47 -0000 jhb 2011-03-30 12:35:39 UTC FreeBSD src repository Modified files: sys/netinet tcp_input.c Log: SVN rev 220156 on 2011-03-30 12:35:39Z by jhb Clamp the initial advertised receive window when responding to a SYN/ACK to the maximum allowed window. Growing the window too large would cause an underflow in the calculations in tcp_output() to decide if a window update should be sent which would prevent the persist timer from being started if data was pending and the other end of the connection advertised an initial window size of 0. PR: kern/154006 Submitted by: Stefan `Sec` Zehl sec 42 org Reviewed by: bz MFC after: 1 week Revision Changes Path 1.425 +2 -1 src/sys/netinet/tcp_input.c