From nobody Mon Oct 02 00:50:42 2023 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 4RzMnb1qYbz4w33y; Mon, 2 Oct 2023 00:50:43 +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 4RzMnb174gz4qVw; Mon, 2 Oct 2023 00:50:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696207843; 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=0FUAl6sYLLdTq2RxJHNYBSQbdBHKMC8gAlafLQ9gt1U=; b=GWpA8CnDg9XxARjUnGglXtEHUHQYfWcTK/Ww53OSMP9BZX/GSSOFfHW+0n3H+oxdtFTBkb xmNsOtNEpqN33ortWcHBW9gNgAS6BqjrFMC06Qz1ftbScdeOT02MidR7OjdxaWFfGCm4of An2ZHqlcZS8+yiwS0Uc7EU7hGEcdpjzSPenAHenwuHlmkuH+C4dTNfmkXpruHlOjUpW2ga uiqKi4p/xxOvVZQq3C/B4C3BjyjhW9XDHVZ3o9AuIC848POu8DXEGzmWnhX8CobsmBp4LT y7yIx+2nL/P+wB35S8u/0BP7RC+TRnvepvRy7GAgptF7z9UmUX6Di2jZUtV45g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696207843; a=rsa-sha256; cv=none; b=hUzqzbiV9MTSN/c3Q6PeTmpNPRTwPfn6e7VNJn7msPteHKGC8AFcDsqgvXEPQPawFIgvTL 0E6D9n/uVgGBCR0zmwsZxTqCqZfXm+3zYF7Vy3klCfS8t3l6hFaYN+j5lmIAW/x5ktT/ve 1mFk6oKISK8hKltw8WSsE9Atw69kHyumvwTYk7pimbjAt39JG2B1U74AnO7V+ioxTOfz5L fGwIqP69ibtMqBJa5CVI0+de2MrxXEmHNHpoufUetxezzQQrA3DVxOXbFhLo4Mn9Dg8PM8 eFZ4rRSSgOB6RzmzxF5miJL6yGkBmE6Ea65NWHP771EX/78lEVGiSrVW5eaJ4A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696207843; 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=0FUAl6sYLLdTq2RxJHNYBSQbdBHKMC8gAlafLQ9gt1U=; b=L32jGZ1bmjyjic3tDQEjz1dtlHRRtkzLUF9xfo1I8Ygv1iY01cfv1Y2ZniQ5r/Dj9L9r2I NSEUrBpzv41Q0acTQ5c9CDlKVt+dAVmnrk1xBVmacUeVJpoiYaXjy+NcMpCb93CNqhSWSz 2CJI/HqQk0NTbd4bhM4xiviHzrmGMvUDQwf/EIoelJhi423FXlJKghFqueCIYkidno0jk1 eLBoITHznUp6C1IXIFrUtWmJSHGmxnbBrUUcm9863VGZtMMR3w2wh/JCmOEBNs0QFapZWy maed0fZDH6HgvmudWfDLR39ncEUpGccIgBfRsqPeRKQnoGBLk2YeEDosDFa29g== 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 4RzMnb09pxzrsm; Mon, 2 Oct 2023 00:50:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3920ogdj028326; Mon, 2 Oct 2023 00:50:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3920ogxR028323; Mon, 2 Oct 2023 00:50:42 GMT (envelope-from git) Date: Mon, 2 Oct 2023 00:50:42 GMT Message-Id: <202310020050.3920ogxR028323@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Zhenlei Huang Subject: git: bffb01eda9bf - stable/14 - rtsock: Add sysctl flag CTLFLAG_TUN to loader tunable 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: zlei X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: bffb01eda9bffc3307ea8bf70f91087ed316e01c Auto-Submitted: auto-generated The branch stable/14 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=bffb01eda9bffc3307ea8bf70f91087ed316e01c commit bffb01eda9bffc3307ea8bf70f91087ed316e01c Author: Zhenlei Huang AuthorDate: 2023-09-25 10:10:46 +0000 Commit: Zhenlei Huang CommitDate: 2023-10-02 00:49:37 +0000 rtsock: Add sysctl flag CTLFLAG_TUN to loader tunable The sysctl variable `net.route.netisr_maxqlen` is actually a loader tunable. Add sysctl flag CTLFLAG_TUN to it so that `sysctl -T` will report it correctly. No functional change intended. Reviewed by: glebius MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D41928 (cherry picked from commit 21a722d9593eb477f4ccdad011a2b4df0727fc62) --- sys/net/rtsock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c index 1a83fc2d8abe..019b9e80291c 100644 --- a/sys/net/rtsock.c +++ b/sys/net/rtsock.c @@ -241,7 +241,7 @@ sysctl_route_netisr_maxqlen(SYSCTL_HANDLER_ARGS) return (netisr_setqlimit(&rtsock_nh, qlimit)); } SYSCTL_PROC(_net_route, OID_AUTO, netisr_maxqlen, - CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_MPSAFE, + CTLTYPE_INT | CTLFLAG_RWTUN | CTLFLAG_NOFETCH | CTLFLAG_MPSAFE, 0, 0, sysctl_route_netisr_maxqlen, "I", "maximum routing socket dispatch queue length");