git: 84333aada464 - main - tools: Update sysctl to its new name

From: Jose Luis Duran <jlduran_at_FreeBSD.org>
Date: Thu, 16 Oct 2025 17:26:58 UTC
The branch main has been updated by jlduran:

URL: https://cgit.FreeBSD.org/src/commit/?id=84333aada464296c1e28126b5c91ae2fb3f79eef

commit 84333aada464296c1e28126b5c91ae2fb3f79eef
Author:     Jose Luis Duran <jlduran@FreeBSD.org>
AuthorDate: 2025-10-16 17:18:51 +0000
Commit:     Jose Luis Duran <jlduran@FreeBSD.org>
CommitDate: 2025-10-16 17:26:06 +0000

    tools: Update sysctl to its new name
    
    The kern.ipc.somaxconn sysctl has been replaced with
    kern.ipc.soacceptqueue since FreeBSD 10.0.
    
    Reviewed by:    emaste
    MFC after:      1 hour
    Differential Revision:  https://reviews.freebsd.org/D34598
---
 tools/tools/netrate/tcpp/README  | 2 +-
 tools/tools/sysdoc/tunables.mdoc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/tools/netrate/tcpp/README b/tools/tools/netrate/tcpp/README
index 6817bdf8ca25..ec0313a62eb8 100644
--- a/tools/tools/netrate/tcpp/README
+++ b/tools/tools/netrate/tcpp/README
@@ -84,7 +84,7 @@ In my testing, I use loader.conf entries of:
 
 kern.ipc.maxsockets=1000000
 net.inet.tcp.maxtcptw=3000000
-kern.ipc.somaxconn=49152
+kern.ipc.soacceptqueue=49152
 kern.ipc.nmbjumbo16=262144
 kern.ipc.nmbjumbo9=262144
 kern.ipc.nmbjumbop=262144
diff --git a/tools/tools/sysdoc/tunables.mdoc b/tools/tools/sysdoc/tunables.mdoc
index 20b59f450cf2..397fe632322d 100644
--- a/tools/tools/sysdoc/tunables.mdoc
+++ b/tools/tools/sysdoc/tunables.mdoc
@@ -806,7 +806,7 @@ kern.ipc.nsfbufs
 kern.ipc.numopensockets
 
 ---
-kern.ipc.somaxconn
+kern.ipc.soacceptqueue
 int
 
 The maximum pending socket connection queue size.