]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit56ab6b93007e5000a8812985aec1833c4a6a9ce0
treeb51a1451cdcd323e70e5be14f8186fcb645dbbe3
parente6afb1ad88feddf2347ea779cfaf4d03d3cd40b6
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