Commit 7edc3453 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller

ifb: fix a lockdep splat

After recent ifb changes, we must use lockless __skb_dequeue() since
lock is not anymore initialized.
Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Cc: Jamal Hadi Salim <hadi@cyberus.ca>
Cc: Changli Gao <xiaosuo@gmail.com>
Acked-by: default avatarChangli Gao <xiaosuo@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0d0b1672
...@@ -71,7 +71,7 @@ static void ri_tasklet(unsigned long dev) ...@@ -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); u32 from = G_TC_FROM(skb->tc_verd);
skb->tc_verd = 0; skb->tc_verd = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment