diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2017-11-14 17:25:49 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-15 06:09:52 +0100 |
commit | 6670e152447732ba90626f36dfc015a13fbf150e (patch) | |
tree | 0848d15b1d27139ee651c8ecae0136bb679f205a /include/net/netns | |
parent | net: Protect iterations over net::fib_notifier_ops in fib_seq_sum() (diff) | |
download | linux-6670e152447732ba90626f36dfc015a13fbf150e.tar.xz linux-6670e152447732ba90626f36dfc015a13fbf150e.zip |
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>
Diffstat (limited to 'include/net/netns')
-rw-r--r-- | include/net/netns/ipv4.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h index 5e12975fc658..44668c29701a 100644 --- a/include/net/netns/ipv4.h +++ b/include/net/netns/ipv4.h @@ -160,6 +160,7 @@ struct netns_ipv4 { struct inet_timewait_death_row tcp_death_row; int sysctl_max_syn_backlog; int sysctl_tcp_fastopen; + const struct tcp_congestion_ops __rcu *tcp_congestion_control; struct tcp_fastopen_context __rcu *tcp_fastopen_ctx; spinlock_t tcp_fastopen_ctx_lock; unsigned int sysctl_tcp_fastopen_blackhole_timeout; |