Date: Thu, 16 Feb 2012 18:51:12 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r231829 - head/sys/netgraph Message-ID: <201202161851.q1GIpCHF029606@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glebius Date: Thu Feb 16 18:51:12 2012 New Revision: 231829 URL: http://svn.freebsd.org/changeset/base/231829 Log: Supply correct "how" argument to the uma_zcreate(). Modified: head/sys/netgraph/ng_base.c Modified: head/sys/netgraph/ng_base.c ============================================================================== --- head/sys/netgraph/ng_base.c Thu Feb 16 16:48:12 2012 (r231828) +++ head/sys/netgraph/ng_base.c Thu Feb 16 18:51:12 2012 (r231829) @@ -3097,11 +3097,11 @@ ngb_mod_event(module_t mod, int event, v 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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202161851.q1GIpCHF029606>