From nobody Mon Jan 10 00:30:27 2022 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 433411941172; Mon, 10 Jan 2022 00:30:28 +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 4JXF8z42wQz56GR; Mon, 10 Jan 2022 00:30:27 +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 316F51BA31; Mon, 10 Jan 2022 00:30:27 +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 20A0URfu054825; Mon, 10 Jan 2022 00:30:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20A0URDn054824; Mon, 10 Jan 2022 00:30:27 GMT (envelope-from git) Date: Mon, 10 Jan 2022 00:30:27 GMT Message-Id: <202201100030.20A0URDn054824@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Alexander Motin Subject: git: c63fc5265b7e - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: c63fc5265b7e095c7d2de003f2d62c89f2691426 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641774627; 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=bPMIDkSFnm/kK47AbwJ5ajkfsIABZOJLCCEvo0koAqs=; b=dUmK2GZ56t/TeTX2uIrzwnzHZe6G71XgdFjWI71C2S29FS4MNIAwkBlSt8QTl2TpqC3CJK aPg7ZH1pW9Ktk5ONWZAMr6c8j/LeoorVnm9VG4PTZ9IIPRPyhn444woHEOTfggwETroxkn Ay23HeiXDLG1IwxDq5diEfWciy+rjdTFtXvzP5rGplJeGWssexq2DAzMjgbbc2IYSC+pib 0dlpf7gYHwh1MqueKHyJQ1NZcZAH1fymDU6oZaRjVEx+qxdebn3cNC3rnaA5V94ac/8OWY MR08V+0hjyAof0Oi0NTF6TiUa/GJ5AWWZb/lakjeT6aVhsHN3tKXVNPRAjcGyQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641774627; a=rsa-sha256; cv=none; b=RxOzMyiUIPU5As9cQ9/frb0ww0X8Ad13vMZANpoaBDfrw2TT+DD6/XuZlTHZUirpC5ADYt GsOHZUB9FLySqOPOCeqv5T+Y4cBQHQeehz2qRcHG4RUKHjN5wDiQSgCI3xpYAJbnMx5xLN UwRXEz4cHAoOdYNriEw0bdHi1XSGt4JnTlyFh95oKyWmCL/zAMvdTvzKhsD+OMj6TQkVKf xHX/382xBsc6I/Y7CylVZlOBflbYIZUOo82VT2Qj+Yr9xwnbMVYdhMG5BZqCQHWGsns4yN KrCqqc85qbetHbDGulI1LJEUl6YBX/RwCLUAJaDA6uY5UVbzSqOGrcVgZ8m5+A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=c63fc5265b7e095c7d2de003f2d62c89f2691426 commit c63fc5265b7e095c7d2de003f2d62c89f2691426 Author: Alexander Motin AuthorDate: 2021-12-27 00:42:53 +0000 Commit: Alexander Motin 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 */