aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp_output.c')
-rw-r--r--net/ipv4/tcp_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index 597dbd749f05..b95aa72d8823 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -1966,7 +1966,7 @@ static bool tcp_tso_should_defer(struct sock *sk, struct sk_buff *skb,
1966 head = tcp_rtx_queue_head(sk); 1966 head = tcp_rtx_queue_head(sk);
1967 if (!head) 1967 if (!head)
1968 goto send_now; 1968 goto send_now;
1969 age = tcp_stamp_us_delta(tp->tcp_mstamp, head->skb_mstamp); 1969 age = tcp_stamp_us_delta(tp->tcp_mstamp, tcp_skb_timestamp_us(head));
1970 /* If next ACK is likely to come too late (half srtt), do not defer */ 1970 /* If next ACK is likely to come too late (half srtt), do not defer */
1971 if (age < (tp->srtt_us >> 4)) 1971 if (age < (tp->srtt_us >> 4))
1972 goto send_now; 1972 goto send_now;