aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2021-12-27 00:42:53 +0000
committerAlexander Motin <mav@FreeBSD.org>2022-01-10 00:30:03 +0000
commitc63fc5265b7e095c7d2de003f2d62c89f2691426 (patch)
treed4485411ea0c6256e08b1b01bec8a67f3ca6f0ae
parent1b1f80ae1cfd97968ea3832d4e51df3ec7ba275c (diff)
downloadsrc-c63fc5265b7e095c7d2de003f2d62c89f2691426.tar.gz
src-c63fc5265b7e095c7d2de003f2d62c89f2691426.zip
netgraph: Remove CTLFLAG_NEEDGIANT from sysctl.
MFC after: 2 weeks (cherry picked from commit 2f1a46d12b035084cf2836043f8c1f3f23ede9c5)
-rw-r--r--sys/netgraph/ng_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c
index 7f3b103aeaeb..5006b08c9655 100644
--- a/sys/netgraph/ng_base.c
+++ b/sys/netgraph/ng_base.c
@@ -3390,7 +3390,7 @@ sysctl_debug_ng_dump_items(SYSCTL_HANDLER_ARGS)
}
SYSCTL_PROC(_debug, OID_AUTO, ng_dump_items,
- CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_NEEDGIANT, 0, sizeof(int),
+ CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_MPSAFE, 0, sizeof(int),
sysctl_debug_ng_dump_items, "I",
"Number of allocated items");
#endif /* NETGRAPH_DEBUG */