diff options
Diffstat (limited to 'net/ipv4/tcp_output.c')
-rw-r--r-- | net/ipv4/tcp_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c index 76dbe884f246..540b7d92cc70 100644 --- a/net/ipv4/tcp_output.c +++ b/net/ipv4/tcp_output.c | |||
@@ -1961,7 +1961,7 @@ static bool tcp_tso_should_defer(struct sock *sk, struct sk_buff *skb, | |||
1961 | if ((skb != tcp_write_queue_tail(sk)) && (limit >= skb->len)) | 1961 | if ((skb != tcp_write_queue_tail(sk)) && (limit >= skb->len)) |
1962 | goto send_now; | 1962 | goto send_now; |
1963 | 1963 | ||
1964 | win_divisor = ACCESS_ONCE(sock_net(sk)->ipv4.sysctl_tcp_tso_win_divisor); | 1964 | win_divisor = READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_tso_win_divisor); |
1965 | if (win_divisor) { | 1965 | if (win_divisor) { |
1966 | u32 chunk = min(tp->snd_wnd, tp->snd_cwnd * tp->mss_cache); | 1966 | u32 chunk = min(tp->snd_wnd, tp->snd_cwnd * tp->mss_cache); |
1967 | 1967 | ||