Commit 02e9e39f authored by David S. Miller's avatar David S. Miller

[TCP]: Check correct sequence number for URG in tcp_tso_acked().

Noticed by Herbert Xu.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 02d39f13
......@@ -2410,7 +2410,7 @@ static int tcp_tso_acked(struct sock *sk, struct sk_buff *skb,
packets_acked);
if (sacked & TCPCB_URG) {
if (tp->urg_mode &&
!before(orig_seq, tp->snd_up))
!before(seq, tp->snd_up))
tp->urg_mode = 0;
}
} else if (*seq_rtt < 0)
......
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