diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2017-11-14 08:25:49 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-15 14:09:52 +0900 |
commit | 6670e152447732ba90626f36dfc015a13fbf150e (patch) | |
tree | 0848d15b1d27139ee651c8ecae0136bb679f205a /include/net/netns/ipv4.h | |
parent | 11bf284f81b46f59d5f4a4522c13aa7852cfd560 (diff) | |
download | linux-stable-6670e152447732ba90626f36dfc015a13fbf150e.tar.gz linux-stable-6670e152447732ba90626f36dfc015a13fbf150e.tar.bz2 linux-stable-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/ipv4.h')
-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; |