Re: [PATCH 1/2] ipv4: Namespaceify tcp_tw_recycle and tcp_max_tw_buckets knob

2016-12-29 Thread David Miller
From: Haishuang Yan Date: Wed, 28 Dec 2016 17:52:32 +0800 > Different namespace application might require fast recycling > TIME-WAIT sockets independently of the host. > > Signed-off-by: Haishuang Yan Applied, but: > @@ -111,6 +121,7 @@ struct netns_ipv4 { > int sysctl_tcp_fin_timeout;

[PATCH 1/2] ipv4: Namespaceify tcp_tw_recycle and tcp_max_tw_buckets knob

2016-12-28 Thread Haishuang Yan
Different namespace application might require fast recycling TIME-WAIT sockets independently of the host. Signed-off-by: Haishuang Yan --- include/net/inet_timewait_sock.h | 13 + include/net/netns/ipv4.h | 11 +++ include/net/tcp.h| 1 - net/ipv4/af_