diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-12-16 00:52:55 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-16 23:54:52 +0100 |
commit | 7edc3453e54432a9f1c636b6481f1107c9db19bd (patch) | |
tree | 0d54cd961dd590164a76f91ce5ce86a38978bcba /drivers/net/ifb.c | |
parent | net: Fix drivers advertising HW_CSUM feature to use csum_start (diff) | |
download | linux-7edc3453e54432a9f1c636b6481f1107c9db19bd.tar.xz linux-7edc3453e54432a9f1c636b6481f1107c9db19bd.zip |
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 '')
-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) } } - 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; |