Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151065233
D1201.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D1201.id.diff
View Options
Index: sys/netinet/udp_usrreq.c
===================================================================
--- sys/netinet/udp_usrreq.c
+++ sys/netinet/udp_usrreq.c
@@ -216,10 +216,10 @@
* a 4-tuple, flip this to 4-tuple.
*/
in_pcbinfo_init(&V_udbinfo, "udp", &V_udb, UDBHASHSIZE, UDBHASHSIZE,
- "udp_inpcb", udp_inpcb_init, NULL, UMA_ZONE_NOFREE,
+ "udp_inpcb", udp_inpcb_init, NULL, 0,
IPI_HASHFIELDS_2TUPLE);
V_udpcb_zone = uma_zcreate("udpcb", sizeof(struct udpcb),
- NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_NOFREE);
+ NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, 0);
uma_zone_set_max(V_udpcb_zone, maxsockets);
uma_zone_set_warning(V_udpcb_zone, "kern.ipc.maxsockets limit reached");
EVENTHANDLER_REGISTER(maxsockets_change, udp_zone_change, NULL,
@@ -232,7 +232,7 @@
in_pcbinfo_init(&V_ulitecbinfo, "udplite", &V_ulitecb, UDBHASHSIZE,
UDBHASHSIZE, "udplite_inpcb", udplite_inpcb_init, NULL,
- UMA_ZONE_NOFREE, IPI_HASHFIELDS_2TUPLE);
+ 0, IPI_HASHFIELDS_2TUPLE);
}
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 6, 6:12 PM (6 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30991169
Default Alt Text
D1201.id.diff (1 KB)
Attached To
Mode
D1201: Allow UMA allocated memory to be freed when VNET jails are torn down.
Attached
Detach File
Event Timeline
Log In to Comment