diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-12-15 18:52:55 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-16 17:54:52 -0500 |
commit | 7edc3453e54432a9f1c636b6481f1107c9db19bd (patch) | |
tree | 0d54cd961dd590164a76f91ce5ce86a38978bcba /drivers/net/ifb.c | |
parent | 0d0b16727f24f8258eeb33818347ca0f4557f982 (diff) |
ifb: fix a lockdep splat
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>
Diffstat (limited to 'drivers/net/ifb.c')
-rw-r--r-- | drivers/net/ifb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ifb.c b/drivers/net/ifb.c index bfa03db66691..8bcacd7c7715 100644 --- a/drivers/net/ifb.c +++ b/drivers/net/ifb.c | |||
@@ -71,7 +71,7 @@ static void ri_tasklet(unsigned long dev) | |||
71 | } | 71 | } |
72 | } | 72 | } |
73 | 73 | ||
74 | while ((skb = skb_dequeue(&dp->tq)) != NULL) { | 74 | while ((skb = __skb_dequeue(&dp->tq)) != NULL) { |
75 | u32 from = G_TC_FROM(skb->tc_verd); | 75 | u32 from = G_TC_FROM(skb->tc_verd); |
76 | 76 | ||
77 | skb->tc_verd = 0; | 77 | skb->tc_verd = 0; |