diff options
author | Haishuang Yan <yanhaishuang@cmss.chinamobile.com> | 2016-12-25 14:33:16 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-27 12:28:07 -0500 |
commit | 56ab6b93007e5000a8812985aec1833c4a6a9ce0 (patch) | |
tree | b51a1451cdcd323e70e5be14f8186fcb645dbbe3 /include/net/netns | |
parent | e6afb1ad88feddf2347ea779cfaf4d03d3cd40b6 (diff) |
ipv4: Namespaceify tcp_tw_reuse knob
Different namespaces might have different requirements to reuse
TIME-WAIT sockets for new connections. This might be required in
cases where different namespace applications are in place which
require TIME_WAIT socket connections to be reduced independently
of the host.
Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns')
-rw-r--r-- | include/net/netns/ipv4.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h index f0cf5a1b777e..0378e88f6fd3 100644 --- a/include/net/netns/ipv4.h +++ b/include/net/netns/ipv4.h @@ -110,6 +110,7 @@ struct netns_ipv4 { int sysctl_tcp_orphan_retries; int sysctl_tcp_fin_timeout; unsigned int sysctl_tcp_notsent_lowat; + int sysctl_tcp_tw_reuse; int sysctl_igmp_max_memberships; int sysctl_igmp_max_msf; |