diff options
author | Eric Dumazet <edumazet@google.com> | 2017-10-26 21:55:10 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-27 16:35:43 +0900 |
commit | af9b69a7a6ca6b817e8d6f416e7aa5b2a5bf1d91 (patch) | |
tree | e7f0fa12f6cbaaa16014e0fa462128ab76877626 /net/ipv4/tcp_input.c | |
parent | 94f0893e0c27219f4a726932618505aab6795973 (diff) | |
download | lwn-af9b69a7a6ca6b817e8d6f416e7aa5b2a5bf1d91.tar.gz lwn-af9b69a7a6ca6b817e8d6f416e7aa5b2a5bf1d91.zip |
tcp: Namespace-ify sysctl_tcp_frto
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r-- | net/ipv4/tcp_input.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index 8ee2c84b0bc6..90d76f1c8f96 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c @@ -83,7 +83,6 @@ int sysctl_tcp_challenge_ack_limit = 1000; int sysctl_tcp_max_orphans __read_mostly = NR_FILE; -int sysctl_tcp_frto __read_mostly = 2; int sysctl_tcp_min_rtt_wlen __read_mostly = 300; int sysctl_tcp_moderate_rcvbuf __read_mostly = 1; int sysctl_tcp_invalid_ratelimit __read_mostly = HZ/2; @@ -2026,7 +2025,7 @@ void tcp_enter_loss(struct sock *sk) * falsely raise the receive window, which results in repeated * timeouts and stop-and-go behavior. */ - tp->frto = sysctl_tcp_frto && + tp->frto = net->ipv4.sysctl_tcp_frto && (new_recovery || icsk->icsk_retransmits) && !inet_csk(sk)->icsk_mtup.probe_size; } |