Skip to content

Commit

Permalink
tcp: fix format of sysctl variable
Browse files Browse the repository at this point in the history
The format for CTLTYPE_UINT is "IU" instead of "UI" as specified
in sysctl.9.

Reviewed by:		cc, zlei
MFC after:		1 week
Sponsored by:		Netflix, Inc.
Differential Revision:	https://reviews.freebsd.org/D46408
  • Loading branch information
tuexen committed Aug 22, 2024
1 parent 0f64fc6 commit 498286d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/netinet/tcp_syncache.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,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;
Expand Down

0 comments on commit 498286d

Please sign in to comment.