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 a3679174e78a..1d65ce1b68d7 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -1735,7 +1735,7 @@ static void tcp_retrans_try_collapse(struct sock *sk, struct sk_buff *skb, int m
1735 * it is better to underestimate fackets. 1735 * it is better to underestimate fackets.
1736 */ 1736 */
1737 tcp_dec_pcount_approx(&tp->fackets_out, next_skb); 1737 tcp_dec_pcount_approx(&tp->fackets_out, next_skb);
1738 tcp_packets_out_dec(tp, next_skb); 1738 tp->packets_out -= tcp_skb_pcount(next_skb);
1739 sk_stream_free_skb(sk, next_skb); 1739 sk_stream_free_skb(sk, next_skb);
1740 } 1740 }
1741} 1741}