Date: Thu, 3 Feb 2011 11:52:22 +0000 (UTC) From: Randall Stewart <rrs@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet sctp_pcb.c sctp_pcb.h sctp_sysctl.c sctp_usrreq.c Message-ID: <201102031152.p13Bqanj079560@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102031152.p13Bqanj079560>
