From 2f1a46d12b035084cf2836043f8c1f3f23ede9c5 Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Sun, 26 Dec 2021 19:42:53 -0500 Subject: [PATCH] netgraph: Remove CTLFLAG_NEEDGIANT from sysctl. MFC after: 2 weeks --- sys/netgraph/ng_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c index 0d64000ee1f5..0a07860a4481 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 */