Skip to content

Commit bffae69

Browse files
lxindavem330
authored andcommitted
net: change tcp_syn_retries documentation
Documentation should be kept consistent with the code: static int tcp_syn_retries_max = MAX_TCP_SYNCNT; #define MAX_TCP_SYNCNT 127 Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 81e8f2e commit bffae69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/networking/ip-sysctl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ tcp_fastopen - INTEGER
594594

595595
tcp_syn_retries - INTEGER
596596
Number of times initial SYNs for an active TCP connection attempt
597-
will be retransmitted. Should not be higher than 255. Default value
597+
will be retransmitted. Should not be higher than 127. Default value
598598
is 6, which corresponds to 63seconds till the last retransmission
599599
with the current initial RTO of 1second. With this the final timeout
600600
for an active TCP connection attempt will happen after 127seconds.

0 commit comments

Comments
 (0)