Commit 71c4ed54 authored by David S. Miller's avatar David S. Miller

[TCP]: Fix fack_count handling in tcp_sacktag_write_queue().

parent 7119ea3b
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment