From nobody Mon Dec 27 00:43:41 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 261FB190D93F; Mon, 27 Dec 2021 00:43:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JMf6j6FSrz54GJ; Mon, 27 Dec 2021 00:43:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B6EE314B3B; Mon, 27 Dec 2021 00:43:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BR0hfqY056482; Mon, 27 Dec 2021 00:43:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BR0hfJU056481; Mon, 27 Dec 2021 00:43:41 GMT (envelope-from git) Date: Mon, 27 Dec 2021 00:43:41 GMT Message-Id: <202112270043.1BR0hfJU056481@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Alexander Motin Subject: git: 2f1a46d12b03 - main - netgraph: Remove CTLFLAG_NEEDGIANT from sysctl. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mav X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2f1a46d12b035084cf2836043f8c1f3f23ede9c5 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640565821; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RzOxvYdNRpC2bH2y0wxeL4OB/gJ+RmFY59/mX9Mz5SU=; b=PHjsheJqXSfbCpBzAmI4mXEHeH02Nk/2XW9i2NeuRFNaBFtZd8oHcvxrFThsUNyqINm0g8 rvFl716YtXhsyLi2eH7X+WIp9vPj1rqO/HPxUqdkgF/1deQcYM++J5Mma5GPiwssRiWKkM HfGUaoxO4K1X7jX+z+HVer4YxdkdVtD684b4K6+VTlIQNX9xO5xTFQErl49Sy3aPdjQ6rg YdWaf1+XGEHxtcLPiAdyaSAsKWZdCrfpCDEXxHj9xMkO5ckfGZg/ki9jb+AlZHQRjyWwvk VxF/DSnH66Vq9PIDOsuAK2P0a6SG0mOnvCh/6gVOD3pf0gZCh+YyWUbHN2CwIw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640565821; a=rsa-sha256; cv=none; b=jnSLtiTNWw7p2SRXKQOLpR/oSCWETpu1MjPk3vbv2Iaw5o7TICJMfvLHBEqxgeBjSxbulb YtHl/lD04VJQ7P3HGYcaj6UmyRcPBHnwHhClQYmXKKjBFlzT+JYBhAkXvcMZvhgmqrzw6w LNUYVjDQE1pJ7hoBhWfXLhy3RxHwQWrz3AMwc7o0pSSeuCox+8XiYGDmQ+cmZGQi+dqn0I o+CQYyu46Uj9x8UPTJ1+PBA1teY4C3wB8KT1cTr5NaV03G+AtNztECNIM05lX688aWFQ8s 2tLO76BWJBT4bSAKZy82p5OHqoBdyBe3CHnCt4Ni60WkC2VXO9AnTppzEb1/rg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=2f1a46d12b035084cf2836043f8c1f3f23ede9c5 commit 2f1a46d12b035084cf2836043f8c1f3f23ede9c5 Author: Alexander Motin AuthorDate: 2021-12-27 00:42:53 +0000 Commit: Alexander Motin CommitDate: 2021-12-27 00:42:53 +0000 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 */