diff options
Diffstat (limited to 'sys/netgraph/ng_base.c')
-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 8135c6e..2327b4d 100644 --- a/sys/netgraph/ng_base.c +++ b/sys/netgraph/ng_base.c @@ -3021,11 +3021,11 @@ static int maxalloc = 128; /* limit the damage of a leak */ static int ngqfreemax = 64;/* cache at most this many */ TUNABLE_INT("net.graph.maxalloc", &maxalloc); -SYSCTL_INT(_net_graph, OID_AUTO, maxalloc, CTLFLAG_RD, &maxalloc, +SYSCTL_INT(_net_graph, OID_AUTO, maxalloc, CTLFLAG_RDTUN, &maxalloc, 0, "Maximum number of queue items to allocate"); TUNABLE_INT("net.graph.ngqfreemax", &ngqfreemax); -SYSCTL_INT(_net_graph, OID_AUTO, ngqfreemax, CTLFLAG_RD, &ngqfreemax, +SYSCTL_INT(_net_graph, OID_AUTO, ngqfreemax, CTLFLAG_RDTUN, &ngqfreemax, 0, "Maximum number of free queue items to cache"); static const int ngqfreelow = 4; /* try malloc if free < this */ |