git: c63fc5265b7e - stable/13 - netgraph: Remove CTLFLAG_NEEDGIANT from sysctl.

From: Alexander Motin <mav_at_FreeBSD.org>
Date: Mon, 10 Jan 2022 00:30:27 UTC
The branch stable/13 has been updated by mav:

URL: https://cgit.FreeBSD.org/src/commit/?id=c63fc5265b7e095c7d2de003f2d62c89f2691426

commit c63fc5265b7e095c7d2de003f2d62c89f2691426
Author:     Alexander Motin <mav@FreeBSD.org>
AuthorDate: 2021-12-27 00:42:53 +0000
Commit:     Alexander Motin <mav@FreeBSD.org>
CommitDate: 2022-01-10 00:30:03 +0000

    netgraph: Remove CTLFLAG_NEEDGIANT from sysctl.
    
    MFC after:      2 weeks
    
    (cherry picked from commit 2f1a46d12b035084cf2836043f8c1f3f23ede9c5)
---
 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 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 */