summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_base.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2012-02-22 09:08:51 +0000
committerglebius <glebius@FreeBSD.org>2012-02-22 09:08:51 +0000
commit55ea20f202575d6359b3073ecc07b86d105f1487 (patch)
tree8f57c686848bfc683f48b70944780225a71ddfd0 /sys/netgraph/ng_base.c
parent79308ead489cbf8d0bbfce71ffe401bb9f840884 (diff)
downloadFreeBSD-src-55ea20f202575d6359b3073ecc07b86d105f1487.zip
FreeBSD-src-55ea20f202575d6359b3073ecc07b86d105f1487.tar.gz
Revert r231829, that was my braino.
Diffstat (limited to 'sys/netgraph/ng_base.c')
-rw-r--r--sys/netgraph/ng_base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c
index 6a9b08f..0856e80 100644
--- a/sys/netgraph/ng_base.c
+++ b/sys/netgraph/ng_base.c
@@ -3208,11 +3208,11 @@ ngb_mod_event(module_t mod, int event, void *data)
MTX_DEF);
#endif
ng_qzone = uma_zcreate("NetGraph items", sizeof(struct ng_item),
- NULL, NULL, NULL, NULL, UMA_ALIGN_CACHE, M_WAITOK);
+ NULL, NULL, NULL, NULL, UMA_ALIGN_CACHE, 0);
uma_zone_set_max(ng_qzone, maxalloc);
ng_qdzone = uma_zcreate("NetGraph data items",
sizeof(struct ng_item), NULL, NULL, NULL, NULL,
- UMA_ALIGN_CACHE, M_WAITOK);
+ UMA_ALIGN_CACHE, 0);
uma_zone_set_max(ng_qdzone, maxdata);
/* Autoconfigure number of threads. */
if (numthreads <= 0)
OpenPOWER on IntegriCloud