aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r--net/ipv4/tcp_input.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index 7bac1fac065f..1e7fd8113663 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -2821,8 +2821,7 @@ static int tcp_clean_rtx_queue(struct sock *sk, int prior_fackets)
2821 if (sacked & TCPCB_LOST) 2821 if (sacked & TCPCB_LOST)
2822 tp->lost_out -= acked_pcount; 2822 tp->lost_out -= acked_pcount;
2823 2823
2824 if (unlikely((sacked & TCPCB_URG) && tp->urg_mode && 2824 if (unlikely(tp->urg_mode && !before(end_seq, tp->snd_up)))
2825 !before(end_seq, tp->snd_up)))
2826 tp->urg_mode = 0; 2825 tp->urg_mode = 0;
2827 2826
2828 tp->packets_out -= acked_pcount; 2827 tp->packets_out -= acked_pcount;