]> git.hungrycats.org Git - linux/commitdiff
[TCP]: Fix fack_count handling in tcp_sacktag_write_queue().
authorDavid S. Miller <davem@nuts.davemloft.net>
Sun, 12 Sep 2004 10:31:20 +0000 (03:31 -0700)
committerDavid S. Miller <davem@nuts.davemloft.net>
Sun, 12 Sep 2004 10:31:20 +0000 (03:31 -0700)
net/ipv4/tcp_input.c

index d7fb3cde4f20e107794322320cc11c5a4064aece..1c53442639aed190fa4f0df067324ffa81a71fdc 100644 (file)
@@ -1032,7 +1032,7 @@ tcp_sacktag_write_queue(struct sock *sk, struct sk_buff *ack_skb, u32 prior_snd_
                        if(!before(TCP_SKB_CB(skb)->seq, end_seq))
                                break;
 
-                       fack_count++;
+                       fack_count += TCP_SKB_CB(skb)->tso_factor;
 
                        in_sack = !after(start_seq, TCP_SKB_CB(skb)->seq) &&
                                !before(end_seq, TCP_SKB_CB(skb)->end_seq);