netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net] net: change tcp_syn_retries documentation
@ 2016-01-20  8:12 Xin Long
  2016-01-21  2:55 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Xin Long @ 2016-01-20  8:12 UTC (permalink / raw)
  To: network dev; +Cc: davem

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>
---
 Documentation/networking/ip-sysctl.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt
index ceb44a0..73b36d7 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.
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net] net: change tcp_syn_retries documentation
  2016-01-20  8:12 [PATCH net] net: change tcp_syn_retries documentation Xin Long
@ 2016-01-21  2:55 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2016-01-21  2:55 UTC (permalink / raw)
  To: lucien.xin; +Cc: netdev

From: Xin Long <lucien.xin@gmail.com>
Date: Wed, 20 Jan 2016 16:12:33 +0800

> 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>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-21  2:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-20  8:12 [PATCH net] net: change tcp_syn_retries documentation Xin Long
2016-01-21  2:55 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).