diff options
author | Eric Dumazet <edumazet@google.com> | 2017-10-26 21:54:57 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-27 16:35:42 +0900 |
commit | e20223f1962831d1b1c416d59d259879d0639d68 (patch) | |
tree | a82676f59d21fe385c78d140c8cc43ee6b63ea67 /net/ipv4/tcp_input.c | |
parent | 2ae21cf527da0e5cf9d7ee14bd5b0909bb9d1a75 (diff) | |
download | lwn-e20223f1962831d1b1c416d59d259879d0639d68.tar.gz lwn-e20223f1962831d1b1c416d59d259879d0639d68.zip |
tcp: Namespace-ify sysctl_tcp_recovery
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index 7656b1e6d504..5b2272dbf6a9 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c @@ -2788,7 +2788,7 @@ static void tcp_rack_identify_loss(struct sock *sk, int *ack_flag) struct tcp_sock *tp = tcp_sk(sk); /* Use RACK to detect loss */ - if (sysctl_tcp_recovery & TCP_RACK_LOSS_DETECTION) { + if (sock_net(sk)->ipv4.sysctl_tcp_recovery & TCP_RACK_LOSS_DETECTION) { u32 prior_retrans = tp->retrans_out; tcp_rack_mark_lost(sk); |