svn commit: r297735 - head/sys/netinet
Bjoern A. Zeeb
bz at FreeBSD.org
Sat Apr 9 10:44:59 UTC 2016
Author: bz
Date: Sat Apr 9 10:44:57 2016
New Revision: 297735
URL: https://svnweb.freebsd.org/changeset/base/297735
Log:
Mfp: r296345
No need to keep type stability on raw sockets zone.
We've also been running with a KASSERT since r222488 to make sure the
ipi_count is 0 on destroy.
PR: 164763
Reviewed by: gnn
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D5735
Modified:
head/sys/netinet/raw_ip.c
Modified: head/sys/netinet/raw_ip.c
==============================================================================
--- head/sys/netinet/raw_ip.c Sat Apr 9 10:39:54 2016 (r297734)
+++ head/sys/netinet/raw_ip.c Sat Apr 9 10:44:57 2016 (r297735)
@@ -209,8 +209,7 @@ rip_init(void)
{
in_pcbinfo_init(&V_ripcbinfo, "rip", &V_ripcb, INP_PCBHASH_RAW_SIZE,
- 1, "ripcb", rip_inpcb_init, NULL, UMA_ZONE_NOFREE,
- IPI_HASHFIELDS_NONE);
+ 1, "ripcb", rip_inpcb_init, NULL, 0, IPI_HASHFIELDS_NONE);
EVENTHANDLER_REGISTER(maxsockets_change, rip_zone_change, NULL,
EVENTHANDLER_PRI_ANY);
}
More information about the svn-src-all
mailing list