]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv4/tcp_input.c
[TCP]: NewReno must count every skb while marking losses
[linux-2.6-omap-h63xx.git] / net / ipv4 / tcp_input.c
index fa2c85ca5bc39c32947f499ef6f531d840cc925e..19c449f62672d7cf41f03a65f6d6dbc0cc3b3c04 100644 (file)
@@ -2153,7 +2153,7 @@ static void tcp_mark_head_lost(struct sock *sk, int packets, int fast_rexmit)
                tp->lost_skb_hint = skb;
                tp->lost_cnt_hint = cnt;
 
-               if (tcp_is_fack(tp) ||
+               if (tcp_is_fack(tp) || tcp_is_reno(tp) ||
                    (TCP_SKB_CB(skb)->sacked & TCPCB_SACKED_ACKED))
                        cnt += tcp_skb_pcount(skb);