svn commit: r297740 - head/sys/netinet

Bjoern A. Zeeb bz at FreeBSD.org
Sat Apr 9 11:27:49 UTC 2016


Author: bz
Date: Sat Apr  9 11:27:47 2016
New Revision: 297740
URL: https://svnweb.freebsd.org/changeset/base/297740

Log:
  Mfp: r296260
  
  The tcp_inpcb (pcbinfo) zone should be safe to destroy.
  
  PR:		164763
  Reviewed by:	gnn
  MFC after:	2 weeks
  Sponsored by:	The FreeBSD Foundation
  Differential Revision:	https://reviews.freebsd.org/D5732

Modified:
  head/sys/netinet/tcp_subr.c

Modified: head/sys/netinet/tcp_subr.c
==============================================================================
--- head/sys/netinet/tcp_subr.c	Sat Apr  9 11:23:46 2016	(r297739)
+++ head/sys/netinet/tcp_subr.c	Sat Apr  9 11:27:47 2016	(r297740)
@@ -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-all mailing list