summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2016-01-20 11:12:33 +0300
committerDavid S. Miller <davem@davemloft.net>2016-01-21 05:55:08 +0300
commitbffae6975e00b78e86bcd694ab4c8c48216572a3 (patch)
treec0f541447545a3cf058e9e353ab6dd40f2cb22b3 /Documentation
parent81e8f2e930fe76b9814c71b9d87c30760b5eb705 (diff)
downloadlinux-bffae6975e00b78e86bcd694ab4c8c48216572a3.tar.xz
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/networking/ip-sysctl.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt
index ceb44a095a27..73b36d7c7b0d 100644
--- a/Documentation/networking/ip-sysctl.txt
+++ b/Documentation/networking/ip-sysctl.txt
@@ -594,7 +594,7 @@ tcp_fastopen - INTEGER
tcp_syn_retries - INTEGER
Number of times initial SYNs for an active TCP connection attempt
- will be retransmitted. Should not be higher than 255. Default value
+ will be retransmitted. Should not be higher than 127. Default value
is 6, which corresponds to 63seconds till the last retransmission
with the current initial RTO of 1second. With this the final timeout
for an active TCP connection attempt will happen after 127seconds.