diff options
| author | Gleb Smirnoff <glebius@FreeBSD.org> | 2012-02-22 09:08:51 +0000 |
|---|---|---|
| committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2012-02-22 09:08:51 +0000 |
| commit | 77a117ca28b80f94d53ee7da5bb27b70fa357d47 (patch) | |
| tree | 8f57c686848bfc683f48b70944780225a71ddfd0 /sys/netgraph | |
| parent | f911d9fa4d0645d1e57be27742cd1a34eb34f7b6 (diff) | |
Notes
Diffstat (limited to 'sys/netgraph')
| -rw-r--r-- | sys/netgraph/ng_base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c index 6a9b08feb0df..0856e8017480 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) |
