From owner-cvs-src-old@FreeBSD.ORG Mon Oct 27 14:49:17 2008 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 9D1131065671 for ; Mon, 27 Oct 2008 14:49:17 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8B88A8FC16 for ; Mon, 27 Oct 2008 14:49:17 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m9REnHnF017357 for ; Mon, 27 Oct 2008 14:49:17 GMT (envelope-from rrs@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m9REnHdv017356 for cvs-src-old@freebsd.org; Mon, 27 Oct 2008 14:49:17 GMT (envelope-from rrs@repoman.freebsd.org) Message-Id: <200810271449.m9REnHdv017356@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rrs@repoman.freebsd.org using -f From: Randall Stewart Date: Mon, 27 Oct 2008 14:49:12 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet sctp_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: Mon, 27 Oct 2008 14:49:17 -0000 rrs 2008-10-27 14:49:12 UTC FreeBSD src repository Modified files: sys/netinet sctp_output.c Log: SVN rev 184340 on 2008-10-27 14:49:12Z by rrs More issues with pre-blocking: a) Need for EEOR mode to take the min of the socket buffer size and the add more threshold, otherwise if you are so silly as to set a send buf size less than the add-more you could block forever in eeor mode. b) We were incorrectly using the sysctl vs the calculated value. This causes us to block forever if the addmore theshold is larger than then the socket buffer size. Revision Changes Path 1.79 +10 -4 src/sys/netinet/sctp_output.c