git: 2dcd21ddab9a - stable/14 - tcp: fix format of sysctl variable

From: Michael Tuexen <tuexen_at_FreeBSD.org>
Date: Fri, 30 Aug 2024 06:32:39 UTC
The branch stable/14 has been updated by tuexen:

URL: https://cgit.FreeBSD.org/src/commit/?id=2dcd21ddab9aa72da3bc2de746318f518ff779f8

commit 2dcd21ddab9aa72da3bc2de746318f518ff779f8
Author:     Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2024-08-22 12:44:47 +0000
Commit:     Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2024-08-30 06:32:11 +0000

    tcp: fix format of sysctl variable
    
    The format for CTLTYPE_UINT is "IU" instead of "UI" as specified
    in sysctl.9.
    
    Reviewed by:            cc, zlei
    Sponsored by:           Netflix, Inc.
    Differential Revision:  https://reviews.freebsd.org/D46408
    
    (cherry picked from commit 498286d4e807d6b9e4caad22b96ebca7f16e9b18)
---
 sys/netinet/tcp_syncache.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c
index 287728fe9162..e24249048fd6 100644
--- a/sys/netinet/tcp_syncache.c
+++ b/sys/netinet/tcp_syncache.c
@@ -215,7 +215,7 @@ sysctl_net_inet_tcp_syncache_rexmtlimit_check(SYSCTL_HANDLER_ARGS)
 SYSCTL_PROC(_net_inet_tcp_syncache, OID_AUTO, rexmtlimit,
     CTLFLAG_VNET | CTLTYPE_UINT | CTLFLAG_RW | CTLFLAG_NEEDGIANT,
     &VNET_NAME(tcp_syncache.rexmt_limit), 0,
-    sysctl_net_inet_tcp_syncache_rexmtlimit_check, "UI",
+    sysctl_net_inet_tcp_syncache_rexmtlimit_check, "IU",
     "Limit on SYN/ACK retransmissions");
 
 VNET_DEFINE(int, tcp_sc_rst_sock_fail) = 1;