ifb: fix a lockdep splat
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 15 Dec 2010 23:52:55 +0000 (23:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Dec 2010 22:54:52 +0000 (14:54 -0800)
After recent ifb changes, we must use lockless __skb_dequeue() since
lock is not anymore initialized.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Jamal Hadi Salim <hadi@cyberus.ca>
Cc: Changli Gao <xiaosuo@gmail.com>
Acked-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ifb.c

index bfa03db66691dda42eadfd84ecad3b9b91056400..8bcacd7c7715a18e7c10978533548e3910c08f8a 100644 (file)
@@ -71,7 +71,7 @@ static void ri_tasklet(unsigned long dev)
                }
        }
 
-       while ((skb = skb_dequeue(&dp->tq)) != NULL) {
+       while ((skb = __skb_dequeue(&dp->tq)) != NULL) {
                u32 from = G_TC_FROM(skb->tc_verd);
 
                skb->tc_verd = 0;