From 25da04997e5e60de9b0cb9e0505318fbf0cb0d95 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 4 May 2020 10:21:57 +0200 Subject: [PATCH] tcp.7: Update info on tcp_syn_retries default value See https://bugzilla.kernel.org/show_bug.cgi?id=202885. Reported-by: vrafaeli@msn.com Signed-off-by: Michael Kerrisk --- man7/tcp.7 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/man7/tcp.7 b/man7/tcp.7 index 2c4c6f15a..5d950951b 100644 --- a/man7/tcp.7 +++ b/man7/tcp.7 @@ -811,12 +811,18 @@ the urgent pointer: the urgent pointer points to the first byte after the urgent data. Enabling this option may lead to interoperability problems. .TP -.IR tcp_syn_retries " (integer; default: 5; since Linux 2.2)" +.IR tcp_syn_retries " (integer; default: 6; since Linux 2.2)" .\" Since 2.1.38 The maximum number of times initial SYNs for an active TCP connection attempt will be retransmitted. This value should not be higher than 255. -The default value is 5, which corresponds to approximately 180 seconds. +The default value is 6, which corresponds to retrying for up to +approximately 127 seconds. +Before Linux 3.7, +.\" commit 6c9ff979d1921e9fd05d89e1383121c2503759b9 +the default value was 5, which +(in conjunction with calculation based on other kernel parameters) +corresponded to approximately 180 seconds. .TP .IR tcp_synack_retries " (integer; default: 5; since Linux 2.2)" .\" Since 2.1.38