]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv4/tcp_input.c
[TCP]: Remove TCPCB_URG & TCPCB_AT_TAIL as unnecessary
[linux-2.6-omap-h63xx.git] / net / ipv4 / tcp_input.c
index 7bac1fac065fd32fdb80168a6e497600c2fa9271..1e7fd8113663424a0fda7c9aad9d2d70eb0d4831 100644 (file)
@@ -2821,8 +2821,7 @@ static int tcp_clean_rtx_queue(struct sock *sk, int prior_fackets)
                if (sacked & TCPCB_LOST)
                        tp->lost_out -= acked_pcount;
 
-               if (unlikely((sacked & TCPCB_URG) && tp->urg_mode &&
-                            !before(end_seq, tp->snd_up)))
+               if (unlikely(tp->urg_mode && !before(end_seq, tp->snd_up)))
                        tp->urg_mode = 0;
 
                tp->packets_out -= acked_pcount;