Patchwork tcp: doc : fix the syncookies default value

login
register
mail settings
Submitter Shan Wei
Date June 21, 2013, 7:18 a.m.
Message ID <51C3FE48.2060804@gmail.com>
Download mbox | patch
Permalink /patch/253147/
State Accepted
Delegated to: David Miller
Headers show

Comments

Shan Wei - June 21, 2013, 7:18 a.m.
syncookies is on for default since in commit e994b7c901
(tcp: Don't make syn cookies initial setting depend on CONFIG_SYSCTL).

And fix a typo of CONFIG_SYN_COOKIES.

Signed-off-by: Shan Wei <davidshan@tencent.com>
---
 Documentation/networking/ip-sysctl.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
David Miller - June 24, 2013, 7:26 a.m.
From: Shan Wei <shanwei88@gmail.com>
Date: Fri, 21 Jun 2013 15:18:32 +0800

> syncookies is on for default since in commit e994b7c901
> (tcp: Don't make syn cookies initial setting depend on CONFIG_SYSCTL).
> 
> And fix a typo of CONFIG_SYN_COOKIES.
> 
> Signed-off-by: Shan Wei <davidshan@tencent.com>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt
index 36e5a40..1074290 100644
--- a/Documentation/networking/ip-sysctl.txt
+++ b/Documentation/networking/ip-sysctl.txt
@@ -420,10 +420,10 @@  tcp_synack_retries - INTEGER
 	for a passive TCP connection will happen after 63seconds.
 
 tcp_syncookies - BOOLEAN
-	Only valid when the kernel was compiled with CONFIG_SYNCOOKIES
+	Only valid when the kernel was compiled with CONFIG_SYN_COOKIES
 	Send out syncookies when the syn backlog queue of a socket
 	overflows. This is to prevent against the common 'SYN flood attack'
-	Default: FALSE
+	Default: 1
 
 	Note, that syncookies is fallback facility.
 	It MUST NOT be used to help highly loaded servers to stand