]> 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)
commit57ddd796530b1a6c21e6a923c8a5492ff642b9af
tree0848d15b1d27139ee651c8ecae0136bb679f205a
parent3490ef4403d762f14c69f05080ce02f3682156c8
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