summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_timer.c
diff options
context:
space:
mode:
authorNikolay Borisov <kernel@kyup.com>2016-01-07 15:38:43 +0100
committerDavid S. Miller <davem@davemloft.net>2016-01-10 23:32:09 +0100
commit13b287e8d1cad951634389f85b8c9b816bd3bb1e (patch)
treee40de4dc4f8f7e26325b197dc5cc873188061e00 /net/ipv4/tcp_timer.c
parentMerge branch 'mlxsw-layer2-multicast' (diff)
downloadlinux-13b287e8d1cad951634389f85b8c9b816bd3bb1e.tar.xz
linux-13b287e8d1cad951634389f85b8c9b816bd3bb1e.zip
ipv4: Namespaceify tcp_keepalive_time sysctl knob
Different net namespaces might have different requirements as to the keepalive time of tcp sockets. This might be required in cases where different firewall rules are in place which require tcp timeout sockets to be increased/decreased independently of the host. Signed-off-by: Nikolay Borisov <kernel@kyup.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
-rw-r--r--net/ipv4/tcp_timer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv4/tcp_timer.c b/net/ipv4/tcp_timer.c
index 193ba1fa8a9a..166f27b43cc0 100644
--- a/net/ipv4/tcp_timer.c
+++ b/net/ipv4/tcp_timer.c
@@ -24,7 +24,6 @@
int sysctl_tcp_syn_retries __read_mostly = TCP_SYN_RETRIES;
int sysctl_tcp_synack_retries __read_mostly = TCP_SYNACK_RETRIES;
-int sysctl_tcp_keepalive_time __read_mostly = TCP_KEEPALIVE_TIME;
int sysctl_tcp_keepalive_probes __read_mostly = TCP_KEEPALIVE_PROBES;
int sysctl_tcp_keepalive_intvl __read_mostly = TCP_KEEPALIVE_INTVL;
int sysctl_tcp_retries1 __read_mostly = TCP_RETR1;