]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipv4/tcp_input.c
tcp: Fix thinko making the not-shiftable to cover S|R as well
[net-next-2.6.git] / net / ipv4 / tcp_input.c
index 63c3ef6d4a1c21b448739176cf31acf872efca61..33902f6799c3f731a60e7300088d8a50134ee44b 100644 (file)
@@ -1481,7 +1481,7 @@ static struct sk_buff *tcp_shift_skb_data(struct sock *sk, struct sk_buff *skb,
 
        /* Normally R but no L won't result in plain S */
        if (!dup_sack &&
-           (TCP_SKB_CB(skb)->sacked & TCPCB_TAGBITS) == TCPCB_SACKED_RETRANS)
+           (TCP_SKB_CB(skb)->sacked & (TCPCB_LOST|TCPCB_SACKED_RETRANS)) == TCPCB_SACKED_RETRANS)
                goto fallback;
        if (!skb_can_shift(skb))
                goto fallback;