diff options
author | Eric Dumazet <edumazet@google.com> | 2017-10-27 10:47:22 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-28 06:24:38 -0400 |
commit | 4540c0cf98b8892a642d2453eec20ae3eb5696fb (patch) | |
tree | d793e62f62c382f50f4cd7f65fe4a8005a1e725f /net/ipv4/tcp_ipv4.c | |
parent | ec36e416f06f6a8659281053fdc46ce484ad2211 (diff) |
tcp: Namespace-ify sysctl_tcp_moderate_rcvbuf
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 49757c758211..27f376b90913 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -2493,6 +2493,7 @@ static int __net_init tcp_sk_init(struct net *net) | |||
2493 | net->ipv4.sysctl_tcp_app_win = 31; | 2493 | net->ipv4.sysctl_tcp_app_win = 31; |
2494 | net->ipv4.sysctl_tcp_adv_win_scale = 1; | 2494 | net->ipv4.sysctl_tcp_adv_win_scale = 1; |
2495 | net->ipv4.sysctl_tcp_frto = 2; | 2495 | net->ipv4.sysctl_tcp_frto = 2; |
2496 | net->ipv4.sysctl_tcp_moderate_rcvbuf = 1; | ||
2496 | 2497 | ||
2497 | net->ipv4.sysctl_tcp_fastopen = TFO_CLIENT_ENABLE; | 2498 | net->ipv4.sysctl_tcp_fastopen = TFO_CLIENT_ENABLE; |
2498 | spin_lock_init(&net->ipv4.tcp_fastopen_ctx_lock); | 2499 | spin_lock_init(&net->ipv4.tcp_fastopen_ctx_lock); |