]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: Namespaceify tcp_tw_reuse knob
authorHaishuang Yan <yanhaishuang@cmss.chinamobile.com>
Sun, 25 Dec 2016 06:33:16 +0000 (14:33 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Dec 2016 17:28:07 +0000 (12:28 -0500)
commitdb76acb207e9b47896f1031ac554b3703c970ee5
treeb51a1451cdcd323e70e5be14f8186fcb645dbbe3
parentc332e3bfd8ea17dc0362a5d1f6669145d9009a21
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>
include/net/netns/ipv4.h
include/net/tcp.h
net/ipv4/sysctl_net_ipv4.c
net/ipv4/tcp_ipv4.c