From nobody Mon Oct 02 08:29:19 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 4RzYyl6sYJz4vmbX; Mon, 2 Oct 2023 08:29:19 +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 4RzYyl5lzDz4KC4; Mon, 2 Oct 2023 08:29:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696235359; 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=4CjmppYL+alimIBFjQb5ISAh9NODQ0uu8LOCpthNf8U=; b=b1PiknFAMX05wbVOSHwpr8h8r+BcKxLBcnhJ0L8mFPdh+fi1PWZjqyiAEPttW7AJQtSXn5 D8bE/Nu4L9EF7tsFdUfRV/Gim/5QoCRnuCiV4i3WC/tKGxjC1GDuN0mAeT74UNbaTxA/nB GbSVrSjpNoTGy9xtQxn5JIRYXfnTwdTTXEPhhZs4/DKx/jyDEP4rhbHm99uyN7ctHfhKlb PIqNsJGruslzY4QoHvqtwDmPHBdJZ5Xy9fFG/5xyviw65NAcGIDa0JPVX90mRw97TezRS/ khD6A0V5Obg2x3sAbpTZ6Vln9mp3Apuk0KPSFFInQ1Lo+E/gqk+vOAAmJD/vzw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696235359; a=rsa-sha256; cv=none; b=rv4cybZQJetxspv72rZWaXG79uj4Ygv6Tt+VkP2nFJUVF00S+6KwUPlmgipwOB2eTl458u fgNagzO03rWbc2dk0aiOEvs12L3V9fFm6aXXujqMlBHi8xvaW47SIwof/4GG8uCHuRE6gn Z7+sN7cHQuz5cr0rtthEW4FjRszKjWiKU6Ol6+nFmnk5MFWTGy0jk6Z6zPKU25WXa/w8xP OdwfCEjrPLvHtgwqVxdDKvEOGtv0XLTrSqnNHJtY7HOJkA+00PdhbluvtSsawvsKscd06T AlFnvfq/Igcw0z5tALGZxQD414DeQZMMtYqNThoXfhVU52HI0OfGg+/P9nnOoA== 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=1696235359; 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=4CjmppYL+alimIBFjQb5ISAh9NODQ0uu8LOCpthNf8U=; b=lEz2GEOQEa9XP++IRsM2yN4hynVFJBz+eELevCWtII5I+1x6MYFUFQJVnW1x2lz39e9j1o aYgMr+BlrBsvOhqGUAXtq07LJxzRYL1NCY6FpKHB8bMy6mIClBKltdyoMkZCed1BepdLE4 9SYnEhjsLoejEkseH504oT9PpgC+Lt9PvB64E64GBo9TjfA4IB58w79mN+B2kVpm0HHIDB OHawsQqZn0O7tTMulpLAh2q5H1oyk9Uvopf6C5bWyRZ4I3c3k0oNNltWBrfNEUU/mt0dkI gs3Nx7Z7DkJNPu3Jy1lrbWXmohe9ZXtFnTowsbp+9/J6B5e1XdYfd944oBxDsQ== 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 4RzYyl4qgkz14t9; Mon, 2 Oct 2023 08:29:19 +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 3928TJur086133; Mon, 2 Oct 2023 08:29:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3928TJUd086130; Mon, 2 Oct 2023 08:29:19 GMT (envelope-from git) Date: Mon, 2 Oct 2023 08:29:19 GMT Message-Id: <202310020829.3928TJUd086130@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: c6afda2e5a03 - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: c6afda2e5a0389ce293d3a3ced2889979aa2e442 Auto-Submitted: auto-generated The branch stable/13 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=c6afda2e5a0389ce293d3a3ced2889979aa2e442 commit c6afda2e5a0389ce293d3a3ced2889979aa2e442 Author: Zhenlei Huang AuthorDate: 2023-09-25 10:10:46 +0000 Commit: Zhenlei Huang CommitDate: 2023-10-02 08:28:22 +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) (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 d89d661ca99b..4da7e9e74025 100644 --- a/sys/net/rtsock.c +++ b/sys/net/rtsock.c @@ -231,7 +231,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");