summaryrefslogtreecommitdiff
path: root/sys/netgraph
diff options
context:
space:
mode:
authorMike Silbersack <silby@FreeBSD.org>2003-10-21 18:28:36 +0000
committerMike Silbersack <silby@FreeBSD.org>2003-10-21 18:28:36 +0000
commit184dcdc7c8180a316f2aaac1d2efdb8e0dd01b49 (patch)
treed7f74385af1b21c4660c768322a0bb7af0ce2ecc /sys/netgraph
parent9b4b73b7bac633ce64b5012ff6f3773e40d8aff2 (diff)
Notes
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 8135c6e821f2..2327b4d0be2f 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 */