diff options
author | Nikolay Borisov <kernel@kyup.com> | 2016-02-03 02:46:51 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-07 14:35:10 -0500 |
commit | 12ed8244ed8b31b023ea6d2851fd8b15f2999e9b (patch) | |
tree | 5634ea70baf72e6d4008d3daa40d0f4dbbee1705 /include/net | |
parent | 7c083ecb3ba4583a625d5ff9655d1a819e374493 (diff) |
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 'include/net')
-rw-r--r-- | include/net/netns/ipv4.h | 2 | ||||
-rw-r--r-- | include/net/tcp.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h index 9e83084ab8c1..ac000fccdf0f 100644 --- a/include/net/netns/ipv4.h +++ b/include/net/netns/ipv4.h | |||
@@ -101,6 +101,8 @@ struct netns_ipv4 { | |||
101 | int sysctl_tcp_syn_retries; | 101 | int sysctl_tcp_syn_retries; |
102 | int sysctl_tcp_synack_retries; | 102 | int sysctl_tcp_synack_retries; |
103 | 103 | ||
104 | int sysctl_tcp_syncookies; | ||
105 | |||
104 | struct ping_group_range ping_group_range; | 106 | struct ping_group_range ping_group_range; |
105 | 107 | ||
106 | atomic_t dev_addr_genid; | 108 | atomic_t dev_addr_genid; |
diff --git a/include/net/tcp.h b/include/net/tcp.h index 05659e860039..1fb23b70d237 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -243,7 +243,6 @@ extern int sysctl_tcp_fin_timeout; | |||
243 | extern int sysctl_tcp_retries1; | 243 | extern int sysctl_tcp_retries1; |
244 | extern int sysctl_tcp_retries2; | 244 | extern int sysctl_tcp_retries2; |
245 | extern int sysctl_tcp_orphan_retries; | 245 | extern int sysctl_tcp_orphan_retries; |
246 | extern int sysctl_tcp_syncookies; | ||
247 | extern int sysctl_tcp_fastopen; | 246 | extern int sysctl_tcp_fastopen; |
248 | extern int sysctl_tcp_retrans_collapse; | 247 | extern int sysctl_tcp_retrans_collapse; |
249 | extern int sysctl_tcp_stdurg; | 248 | extern int sysctl_tcp_stdurg; |