diff options
author | Nikolay Borisov <kernel@kyup.com> | 2016-02-03 09:46:51 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-07 14:35:10 -0500 |
commit | 12ed8244ed8b31b023ea6d2851fd8b15f2999e9b (patch) | |
tree | 5634ea70baf72e6d4008d3daa40d0f4dbbee1705 /net/ipv4/tcp_ipv4.c | |
parent | 7c083ecb3ba4583a625d5ff9655d1a819e374493 (diff) | |
download | blackbird-op-linux-12ed8244ed8b31b023ea6d2851fd8b15f2999e9b.tar.gz blackbird-op-linux-12ed8244ed8b31b023ea6d2851fd8b15f2999e9b.zip |
ipv4: Namespaceify tcp syncookies sysctl knob
Signed-off-by: Nikolay Borisov <kernel@kyup.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 3146279695b9..98313d10a2e0 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c @@ -860,7 +860,6 @@ static void tcp_v4_reqsk_destructor(struct request_sock *req) kfree(inet_rsk(req)->opt); } - #ifdef CONFIG_TCP_MD5SIG /* * RFC2385 MD5 checksumming requires a mapping of @@ -2391,6 +2390,8 @@ static int __net_init tcp_sk_init(struct net *net) net->ipv4.sysctl_tcp_syn_retries = TCP_SYN_RETRIES; net->ipv4.sysctl_tcp_synack_retries = TCP_SYNACK_RETRIES; + net->ipv4.sysctl_tcp_syncookies = 0; + return 0; fail: tcp_sk_exit(net); |