ipv4: Namespaceify tcp_tw_recycle and tcp_max_tw_buckets knob
authorHaishuang Yan <yanhaishuang@cmss.chinamobile.com>
Wed, 28 Dec 2016 09:52:32 +0000 (17:52 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Dec 2016 16:38:31 +0000 (11:38 -0500)
commit1946e672c173559155a3e210fe95dbf8b7b8ddf7
tree0d794dc28150aac130c2e6dd0024cb3a4a5ec594
parent801822d1beea4f11a38df991b420ca917f6a917b
ipv4: Namespaceify tcp_tw_recycle and tcp_max_tw_buckets knob

Different namespace application might require fast recycling
TIME-WAIT sockets independently of the host.

Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
12 files changed:
include/net/inet_timewait_sock.h
include/net/netns/ipv4.h
include/net/tcp.h
net/ipv4/af_inet.c
net/ipv4/inet_timewait_sock.c
net/ipv4/proc.c
net/ipv4/sysctl_net_ipv4.c
net/ipv4/tcp.c
net/ipv4/tcp_input.c
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_minisocks.c
net/ipv6/tcp_ipv6.c