diff options
author | Eric Dumazet <edumazet@google.com> | 2017-10-27 00:55:04 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-27 03:35:42 -0400 |
commit | 0bc65a28ae2aeb14aab7f4a930e0d8cf4cad9dc4 (patch) | |
tree | 2b58d32f2cb34dc7c21a2b2a1a2cfaa0d24c31c8 /net/ipv4/tcp.c | |
parent | 65c9410cf55ecf32da1b720f563365d565d6289a (diff) |
tcp: Namespace-ify sysctl_tcp_fack
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r-- | net/ipv4/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index f6e1c00e300e..c7c983f0f817 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c | |||
@@ -2517,7 +2517,7 @@ static int tcp_repair_options_est(struct sock *sk, | |||
2517 | return -EINVAL; | 2517 | return -EINVAL; |
2518 | 2518 | ||
2519 | tp->rx_opt.sack_ok |= TCP_SACK_SEEN; | 2519 | tp->rx_opt.sack_ok |= TCP_SACK_SEEN; |
2520 | if (sysctl_tcp_fack) | 2520 | if (sock_net(sk)->ipv4.sysctl_tcp_fack) |
2521 | tcp_enable_fack(tp); | 2521 | tcp_enable_fack(tp); |
2522 | break; | 2522 | break; |
2523 | case TCPOPT_TIMESTAMP: | 2523 | case TCPOPT_TIMESTAMP: |