From nobody Mon Sep 25 10:12:27 2023 X-Original-To: dev-commits-src-main@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 4RvJZz2hT0z4vLQp; Mon, 25 Sep 2023 10:12:27 +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 4RvJZz2H6wz3DtM; Mon, 25 Sep 2023 10:12:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695636747; 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=j4cEa9m88mGntfacrZ02R0tXBX4kSamtNU0FWgTxOoA=; b=yat4x0olGGhVugZrYU6bhz/N+0R8yeLRIYR999NUuu04bNHlcnFMaU9fO5Vm09Q+HiiSS0 brhz6p4jL5WrVbd+lXgPUuGIe5887tT100UL8HAu2I+VX5UAOTuQW8Q0EkSb5dbyqlT466 +N71vv3AwTiAsLQblWT7T/wyCjkC/HFAtKy5gnm3O+3Cn0Q2/PBmkQAR97kfQU7MmRW4d3 cVunMaM6YhbL07Vm44jVTLiBURz9okU+Zds6pxIB6gY1B/zGBZM3rJxLuFfm2O3wofPe6Y jQvyG9umVtcG0ASyG1bScfpGR3kBjo6tjIa9P9LXGcFdqBGQ5Mp8O8V67tuR3Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695636747; a=rsa-sha256; cv=none; b=Vlrau5twSWIpmCN4qRbH75Ahmsx3YLnsImeI8orYFFlGtMOFXZZZrd9sb2/V7DEbBqDVQU BSc1a3p5xU4sPM+r+E96tRZVVKVCSRM9hKAfIMb+Nb9R9v3uNgf4KdcYd+pjVbaCNtXUFZ avqGhkB7cEVlsTVbU0jYeLH4rRLtY3CwD5pcNYQZgrTcLun5HkRalsq//BLPoOOoCucTfr hIlgW0cC8OBnr5M1zWVehwxrBMbYwxxUuIycOShDwCPylFGJTRLGUqDcU4c5YbDca7lwMv Ri5mjXwL/cM70muXCdMiDE2D+SqepDUT0QJGvGsss0q3uiztk0jV3DQJCm3A3g== 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=1695636747; 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=j4cEa9m88mGntfacrZ02R0tXBX4kSamtNU0FWgTxOoA=; b=JBzTxHEIc5EwZhRj73EkYQncRE8RXAj91PmIeDo+aiso9Q0sXwpLLXnmb42rtM0EDW+AwH Le/u5hVuGObfyI7e9hFQ37X1k2SJWUQKTHuDp7dWuMCKr8tLuGsleG56DpOK/Dx9E6TzOj wdAU5F80V5adJ6kU2nNhGss4WgXLjInRxFBSKGoj32RwQsRTf9E7s4eCdhMZFlADl1abPW /FZs2F7PTQ6HEJutEqrXWp7D464JUrGmJBSG69IPEyIoxjZ+9Lz68YaVh1ebNnW1uV0lWW FHZYEepQceah/vLSPLX+Nr5r89+7Ly4VH+eVqbHUmGYHlFtdJePnIFBbDf5FJw== 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 4RvJZz1LCfz1PCY; Mon, 25 Sep 2023 10:12:27 +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 38PACRpe075475; Mon, 25 Sep 2023 10:12:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38PACRbW075472; Mon, 25 Sep 2023 10:12:27 GMT (envelope-from git) Date: Mon, 25 Sep 2023 10:12:27 GMT Message-Id: <202309251012.38PACRbW075472@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Zhenlei Huang Subject: git: 21a722d9593e - main - rtsock: Add sysctl flag CTLFLAG_TUN to loader tunable List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 21a722d9593eb477f4ccdad011a2b4df0727fc62 Auto-Submitted: auto-generated The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=21a722d9593eb477f4ccdad011a2b4df0727fc62 commit 21a722d9593eb477f4ccdad011a2b4df0727fc62 Author: Zhenlei Huang AuthorDate: 2023-09-25 10:10:46 +0000 Commit: Zhenlei Huang CommitDate: 2023-09-25 10:10:46 +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 --- 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");