From nobody Tue Oct 03 03:37:21 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 4S03RQ0kLxz4vdhg; Tue, 3 Oct 2023 03:37:22 +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 4S03RQ0Dgjz4T5n; Tue, 3 Oct 2023 03:37:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696304242; 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=jbrgW7as+VY57qeRi8psSK6PbWFeAo2hyCm1hU5hl5I=; b=D43SrgmQlERHgkvfydT6i8K4L1fuMoiFYkje4WD6XVv6e0l8Ut1A9ALjb4Sl+YnseAm7L2 p0QUqO3WDnitGKikiodAYniOcqTfJjL/mxnM+OmLWFVBXwLNkx9grY4BpMb+1xPJ1ia6hY GM3CK9fK9TxPLgv0FGaealnt579TR4FVoHRZgBk+RhtkdcgfiEtdJCycs16pQk3ySuA60O nM+L3leTymeN23GCEKMCZvEJgBZ7DsZvhI9yQKjRRCaJtzUdlL/44asGUnKxoVOL1hK3NC 5Uo+TV64jfsrNykWJfskoR+mZ01yVd4zixz7DQ5eKb0krckFXr2qwVsTs02X2w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696304242; a=rsa-sha256; cv=none; b=oh1t14PujIb/vkOpNTuLqWx0T1UNTT7jkYXUAV9eiCZPtU9YytQb7Rom+q6msYRvNAj3FT 4MQ/b6J114gK9c/9wiVNOSh/ibA4BuR/PgsgwDW7L/csW4yl+xz+tdX8nLw0nlNEFtLqTj W+fLAerWa1knz3YEOkMZHKOSFFif47odlZP4RvCp2w2rnOmDS2RhqScR2xPzFbTiMnGU1y 9K1/O7zcBWOTedEGvR7if3gQqwF8MZP+NWknSFZLJCREaSSwDzcj16YSWzAg7CQ//I8WvY piZkLY61lXSqar6xmwY6xdBkgXmeBM9yixykLatvgoFoTvaleETvcQ4EEgEsEA== 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=1696304242; 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=jbrgW7as+VY57qeRi8psSK6PbWFeAo2hyCm1hU5hl5I=; b=dbk8veHxnmqcW12x4LAluOROIwrQZ62It+cO7rh3EC8m7bAytIs6jut72eMRuzdUAM2ALd Cc0PBT8l3iIoPpa4k432eKGDwNJ8qOPKsZmL2dq9jPTln5D0qJPdvwljmUu/MD/r7aOgQ+ yINm+a8yviX3kwJoFRleWdhSijMgAZwv0taKhNcrm0rxx0GpihEjSRpWD0Gpg8Qv1Y5fnP Pag71nBsJI1/bQfdbHf8cvYaDuhZbWQt2rWKVK3H7U255ZHhYjRbgZ1lxRg1rr4hkkaSxl txYqLHg05QiY+pTX4v7N/tJsoOjmUYEbR8+y0Oa/KBRcvuDgIylYVEGvxtv96w== 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 4S03RP6PMjzfPN; Tue, 3 Oct 2023 03:37:21 +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 3933bL5f002930; Tue, 3 Oct 2023 03:37:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3933bLah002927; Tue, 3 Oct 2023 03:37:21 GMT (envelope-from git) Date: Tue, 3 Oct 2023 03:37:21 GMT Message-Id: <202310030337.3933bLah002927@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: 535c90cdbcd9 - releng/14.0 - 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/releng/14.0 X-Git-Reftype: branch X-Git-Commit: 535c90cdbcd9eed3e0e46ad90a886ac6d0e53386 Auto-Submitted: auto-generated The branch releng/14.0 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=535c90cdbcd9eed3e0e46ad90a886ac6d0e53386 commit 535c90cdbcd9eed3e0e46ad90a886ac6d0e53386 Author: Zhenlei Huang AuthorDate: 2023-09-25 10:10:46 +0000 Commit: Zhenlei Huang CommitDate: 2023-10-03 03:34:16 +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 Approved by: re (gjb) MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D41928 (cherry picked from commit 21a722d9593eb477f4ccdad011a2b4df0727fc62) (cherry picked from commit bffb01eda9bffc3307ea8bf70f91087ed316e01c) --- 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");