From owner-cvs-src-old@FreeBSD.ORG Thu Feb 3 11:52: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 A297A106566B for ; Thu, 3 Feb 2011 11:52:36 +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 90C278FC1A for ; Thu, 3 Feb 2011 11:52: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 p13Bqa0h079561 for ; Thu, 3 Feb 2011 11:52:36 GMT (envelope-from rrs@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p13Bqanj079560 for cvs-src-old@freebsd.org; Thu, 3 Feb 2011 11:52:36 GMT (envelope-from rrs@repoman.freebsd.org) Message-Id: <201102031152.p13Bqanj079560@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rrs@repoman.freebsd.org using -f From: Randall Stewart Date: Thu, 3 Feb 2011 11:52:22 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet sctp_pcb.c sctp_pcb.h sctp_sysctl.c sctp_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: Thu, 03 Feb 2011 11:52:36 -0000 rrs 2011-02-03 11:52:22 UTC FreeBSD src repository Modified files: sys/netinet sctp_pcb.c sctp_pcb.h sctp_sysctl.c sctp_usrreq.c Log: SVN rev 218219 on 2011-02-03 11:52:22Z by rrs Fix the per CPU stats so that: 1) They don't use the giant "MAX_CPU" define and instead are allocated dynamically based on mp_ncpus 2) Will zero with the netstat -z -s -p sctp 3) Will be properly handled by both the sctp_init and finish (the multi-net stuff was incorrectly bzero'ing in sctp_init the wrong size.. the bzero is now moved to the right places). And of course the free is put in at the very end. MFC after: 3 Months Revision Changes Path 1.134 +13 -1 src/sys/netinet/sctp_pcb.c 1.52 +4 -2 src/sys/netinet/sctp_pcb.h 1.41 +18 -2 src/sys/netinet/sctp_sysctl.c 1.91 +3 -2 src/sys/netinet/sctp_usrreq.c