]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit6670e152447732ba90626f36dfc015a13fbf150e
tree0848d15b1d27139ee651c8ecae0136bb679f205a
parent11bf284f81b46f59d5f4a4522c13aa7852cfd560
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