]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: Namespace-ify sysctl_tcp_default_congestion_control
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 14 Nov 2017 16:25:49 +0000 (08:25 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Nov 2017 05:09:52 +0000 (14:09 +0900)
commit01a79ea0c27b9fa788601bf3a92b9dae7cbd4247
tree0848d15b1d27139ee651c8ecae0136bb679f205a
parent7b20e34856d8cf81740a0868129f1eef4dc4f70d
tcp: Namespace-ify sysctl_tcp_default_congestion_control

Make default TCP default congestion control to a per namespace
value. This changes default congestion control to a pointer to congestion ops
(rather than implicit as first element of available lsit).

The congestion control setting of new namespaces is inherited
from the current setting of the root namespace.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netns/ipv4.h
include/net/tcp.h
net/ipv4/fib_semantics.c
net/ipv4/sysctl_net_ipv4.c
net/ipv4/tcp_cong.c
net/ipv4/tcp_ipv4.c
net/ipv6/route.c