aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorNikolay Borisov <kernel@kyup.com>2016-02-03 02:46:49 -0500
committerDavid S. Miller <davem@davemloft.net>2016-02-07 14:35:10 -0500
commit6fa251663069e05daadd1666cbf3b658bf840ea4 (patch)
tree9aac155e077a393b1c813501de1d37a1c6e3e31a /include/net
parent9d1eb21b59967b337695ed6df66c6d225e3019e0 (diff)
ipv4: Namespaceify tcp syn retries 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.h2
-rw-r--r--include/net/tcp.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h
index 2b7907a35568..b7b5bd64df35 100644
--- a/include/net/netns/ipv4.h
+++ b/include/net/netns/ipv4.h
@@ -98,6 +98,8 @@ struct netns_ipv4 {
98 int sysctl_tcp_keepalive_probes; 98 int sysctl_tcp_keepalive_probes;
99 int sysctl_tcp_keepalive_intvl; 99 int sysctl_tcp_keepalive_intvl;
100 100
101 int sysctl_tcp_syn_retries;
102
101 struct ping_group_range ping_group_range; 103 struct ping_group_range ping_group_range;
102 104
103 atomic_t dev_addr_genid; 105 atomic_t dev_addr_genid;
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 479d535609fd..825485c7cc1a 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -240,7 +240,6 @@ extern int sysctl_tcp_timestamps;
240extern int sysctl_tcp_window_scaling; 240extern int sysctl_tcp_window_scaling;
241extern int sysctl_tcp_sack; 241extern int sysctl_tcp_sack;
242extern int sysctl_tcp_fin_timeout; 242extern int sysctl_tcp_fin_timeout;
243extern int sysctl_tcp_syn_retries;
244extern int sysctl_tcp_synack_retries; 243extern int sysctl_tcp_synack_retries;
245extern int sysctl_tcp_retries1; 244extern int sysctl_tcp_retries1;
246extern int sysctl_tcp_retries2; 245extern int sysctl_tcp_retries2;