Skip to content

Commit

Permalink
ifb: fix a lockdep splat
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Dec 16, 2010
1 parent 0d0b167 commit 7edc345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ifb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7edc345

Please sign in to comment.