summaryrefslogtreecommitdiffstats
path: root/sys/netgraph
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2012-02-16 18:51:12 +0000
committerglebius <glebius@FreeBSD.org>2012-02-16 18:51:12 +0000
commit746e81c70006b8309a1bb031251a36440ff53861 (patch)
treecb7c403fcdaef705784646ebd445a74c755031d5 /sys/netgraph
parent22a1c7c3f89a24acc3a5212930a24ee0a679fe1a (diff)
downloadFreeBSD-src-746e81c70006b8309a1bb031251a36440ff53861.zip
FreeBSD-src-746e81c70006b8309a1bb031251a36440ff53861.tar.gz
Supply correct "how" argument to the uma_zcreate().
Diffstat (limited to 'sys/netgraph')
-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 4a66d17..a4276adf 100644
--- a/sys/netgraph/ng_base.c
+++ b/sys/netgraph/ng_base.c
@@ -3097,11 +3097,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, 0);
+ NULL, NULL, NULL, NULL, UMA_ALIGN_CACHE, M_WAITOK);
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, 0);
+ UMA_ALIGN_CACHE, M_WAITOK);
uma_zone_set_max(ng_qdzone, maxdata);
/* Autoconfigure number of threads. */
if (numthreads <= 0)
OpenPOWER on IntegriCloud