]> git.baikalelectronics.ru Git - kernel.git/commit
6lowpan: fix lockdep splats
authorEric Dumazet <edumazet@google.com>
Mon, 10 Feb 2014 19:42:35 +0000 (11:42 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Feb 2014 01:51:29 +0000 (17:51 -0800)
commitecda4070a73e2c9b47edf5ed7e4393e573d86539
tree617d45db55bdf158b54a97f511e54d8e4387f8e7
parent397481bf1c841ceb29cf024ea0f16192a1f5a0f4
6lowpan: fix lockdep splats

When a device ndo_start_xmit() calls again dev_queue_xmit(),
lockdep can complain because dev_queue_xmit() is re-entered and the
spinlocks protecting tx queues share a common lockdep class.

Same issue was fixed for bonding/l2tp/ppp in commits

3c0b2bce4c930 ("[PATCH] bonding: lockdep annotation")
122f7575ea83c ("bonding: set qdisc_tx_busylock to avoid LOCKDEP splat")
e1fe257a5f89b ("net: qdisc busylock needs lockdep annotations ")
83209e0c92d28 ("ppp: set qdisc_tx_busylock to avoid LOCKDEP splat ")

Reported-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Tested-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ieee802154/6lowpan.c