aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ipv4/tcp_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index 6bc594a63c9d..8e4d74ee31e2 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -2825,8 +2825,8 @@ static int tcp_clean_rtx_queue(struct sock *sk, s32 *seq_rtt_p,
2825 if (sacked & TCPCB_LOST) 2825 if (sacked & TCPCB_LOST)
2826 tp->lost_out -= packets_acked; 2826 tp->lost_out -= packets_acked;
2827 2827
2828 if ((sacked & TCPCB_URG) && tp->urg_mode && 2828 if (unlikely((sacked & TCPCB_URG) && tp->urg_mode &&
2829 !before(end_seq, tp->snd_up)) 2829 !before(end_seq, tp->snd_up)))
2830 tp->urg_mode = 0; 2830 tp->urg_mode = 0;
2831 2831
2832 tp->packets_out -= packets_acked; 2832 tp->packets_out -= packets_acked;