From owner-cvs-src-old@FreeBSD.ORG Tue Aug 17 16:41:28 2010 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 B4E201065697 for ; Tue, 17 Aug 2010 16:41:28 +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 A35748FC0A for ; Tue, 17 Aug 2010 16:41:28 +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 o7HGfS1u049282 for ; Tue, 17 Aug 2010 16:41:28 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o7HGfSAB049281 for cvs-src-old@freebsd.org; Tue, 17 Aug 2010 16:41:28 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <201008171641.o7HGfSAB049281@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 Aug 2010 16:41:16 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet ip_divert.c raw_ip.c tcp_subr.c udp_usrreq.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 Aug 2010 16:41:28 -0000 jhb 2010-08-17 16:41:16 UTC FreeBSD src repository Modified files: sys/netinet ip_divert.c raw_ip.c tcp_subr.c udp_usrreq.c Log: SVN rev 211433 on 2010-08-17 16:41:16Z by jhb Ensure a minimum "slop" of 10 extra pcb structures when providing a memory size estimate to userland for pcb list sysctls. The previous behavior of a "slop" of n/8 does not work well for small values of n (e.g. no slop at all if you have less than 8 open UDP connections). Reviewed by: bz MFC after: 1 week Revision Changes Path 1.165 +2 -2 src/sys/netinet/ip_divert.c 1.230 +2 -2 src/sys/netinet/raw_ip.c 1.360 +3 -2 src/sys/netinet/tcp_subr.c 1.268 +2 -2 src/sys/netinet/udp_usrreq.c