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.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index 6199abeb0f5e..53296753b0bd 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -1755,14 +1755,16 @@ static void tcp_retrans_try_collapse(struct sock *sk, struct sk_buff *skb, int m
1755 if (tcp_is_reno(tp) && tp->sacked_out) 1755 if (tcp_is_reno(tp) && tp->sacked_out)
1756 tcp_dec_pcount_approx(&tp->sacked_out, next_skb); 1756 tcp_dec_pcount_approx(&tp->sacked_out, next_skb);
1757 1757
1758 tcp_adjust_fackets_out(tp, skb, tcp_skb_pcount(next_skb)); 1758 tcp_adjust_fackets_out(tp, next_skb, tcp_skb_pcount(next_skb));
1759 tp->packets_out -= tcp_skb_pcount(next_skb); 1759 tp->packets_out -= tcp_skb_pcount(next_skb);
1760 1760
1761 /* changed transmit queue under us so clear hints */ 1761 /* changed transmit queue under us so clear hints */
1762 tcp_clear_retrans_hints_partial(tp); 1762 tcp_clear_retrans_hints_partial(tp);
1763 /* manually tune sacktag skb hint */ 1763 /* manually tune sacktag skb hint */
1764 if (tp->fastpath_skb_hint == next_skb) 1764 if (tp->fastpath_skb_hint == next_skb) {
1765 tp->fastpath_skb_hint = skb; 1765 tp->fastpath_skb_hint = skb;
1766 tp->fastpath_cnt_hint -= tcp_skb_pcount(skb);
1767 }
1766 1768
1767 sk_stream_free_skb(sk, next_skb); 1769 sk_stream_free_skb(sk, next_skb);
1768 } 1770 }