summaryrefslogtreecommitdiffstats
path: root/include/net/netns
diff options
context:
space:
mode:
authorNikolay Borisov <kernel@kyup.com>2016-01-07 16:38:43 +0200
committerDavid S. Miller <davem@davemloft.net>2016-01-10 17:32:09 -0500
commit13b287e8d1cad951634389f85b8c9b816bd3bb1e (patch)
treee40de4dc4f8f7e26325b197dc5cc873188061e00 /include/net/netns
parentd3517f19f2c41f1b4e9b6a763c0cea3f7d72b589 (diff)
downloadlinux-13b287e8d1cad951634389f85b8c9b816bd3bb1e.tar.bz2
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 'include/net/netns')
-rw-r--r--include/net/netns/ipv4.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h
index d75be32650ba..9e9bbebaebd1 100644
--- a/include/net/netns/ipv4.h
+++ b/include/net/netns/ipv4.h
@@ -94,6 +94,8 @@ struct netns_ipv4 {
int sysctl_tcp_probe_threshold;
u32 sysctl_tcp_probe_interval;
+ int sysctl_tcp_keepalive_time;
+
struct ping_group_range ping_group_range;
atomic_t dev_addr_genid;