diff options
| author | Eric Dumazet <[email protected]> | 2017-10-27 04:55:00 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-27 07:35:42 +0000 |
| commit | e0a1e5b519236dc1662ff25e42560dd1be9e3776 (patch) | |
| tree | 7ed11af0df910b4bf45341145de281f4e4454285 /net/ipv4/tcp_output.c | |
| parent | tcp: Namespace-ify sysctl_tcp_slow_start_after_idle (diff) | |
| download | kernel-e0a1e5b519236dc1662ff25e42560dd1be9e3776.tar.gz kernel-e0a1e5b519236dc1662ff25e42560dd1be9e3776.zip | |
tcp: Namespace-ify sysctl_tcp_retrans_collapse
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
| -rw-r--r-- | net/ipv4/tcp_output.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c index bdc288a06f94..55a0aa4b96df 100644 --- a/net/ipv4/tcp_output.c +++ b/net/ipv4/tcp_output.c @@ -45,9 +45,6 @@ #include <trace/events/tcp.h> -/* People can turn this off for buggy TCP's found in printers etc. */ -int sysctl_tcp_retrans_collapse __read_mostly = 1; - /* People can turn this on to work with those rare, broken TCPs that * interpret the window field as a signed quantity. */ @@ -2804,7 +2801,7 @@ static void tcp_retrans_try_collapse(struct sock *sk, struct sk_buff *to, struct sk_buff *skb = to, *tmp; bool first = true; - if (!sysctl_tcp_retrans_collapse) + if (!sock_net(sk)->ipv4.sysctl_tcp_retrans_collapse) return; if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_SYN) return; |
