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 0bc9e46a5369..48531da1aba6 100644 --- a/net/ipv4/tcp_output.c +++ b/net/ipv4/tcp_output.c | |||
@@ -1908,7 +1908,7 @@ static bool tcp_tso_should_defer(struct sock *sk, struct sk_buff *skb, | |||
1908 | if ((skb != tcp_write_queue_tail(sk)) && (limit >= skb->len)) | 1908 | if ((skb != tcp_write_queue_tail(sk)) && (limit >= skb->len)) |
1909 | goto send_now; | 1909 | goto send_now; |
1910 | 1910 | ||
1911 | win_divisor = ACCESS_ONCE(sysctl_tcp_tso_win_divisor); | 1911 | win_divisor = READ_ONCE(sysctl_tcp_tso_win_divisor); |
1912 | if (win_divisor) { | 1912 | if (win_divisor) { |
1913 | u32 chunk = min(tp->snd_wnd, tp->snd_cwnd * tp->mss_cache); | 1913 | u32 chunk = min(tp->snd_wnd, tp->snd_cwnd * tp->mss_cache); |
1914 | 1914 | ||