svn commit: r296260 - projects/vnet/sys/netinet

Bjoern A. Zeeb bz at FreeBSD.org
Tue Mar 1 10:39:20 UTC 2016


Author: bz
Date: Tue Mar  1 10:39:19 2016
New Revision: 296260
URL: https://svnweb.freebsd.org/changeset/base/296260

Log:
  The tcp_inpcb (pcbinfo) zone should be safe to destroy.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  projects/vnet/sys/netinet/tcp_subr.c

Modified: projects/vnet/sys/netinet/tcp_subr.c
==============================================================================
--- projects/vnet/sys/netinet/tcp_subr.c	Tue Mar  1 10:29:06 2016	(r296259)
+++ projects/vnet/sys/netinet/tcp_subr.c	Tue Mar  1 10:39:19 2016	(r296260)
@@ -654,8 +654,7 @@ tcp_init(void)
 		    hashsize);
 	}
 	in_pcbinfo_init(&V_tcbinfo, "tcp", &V_tcb, hashsize, hashsize,
-	    "tcp_inpcb", tcp_inpcb_init, NULL, UMA_ZONE_NOFREE,
-	    IPI_HASHFIELDS_4TUPLE);
+	    "tcp_inpcb", tcp_inpcb_init, NULL, 0, IPI_HASHFIELDS_4TUPLE);
 
 	/*
 	 * These have to be type stable for the benefit of the timers.


More information about the svn-src-projects mailing list