]> 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)
commitd1c9ce855085a17de4f05a571a3934e0cc036a88
tree617d45db55bdf158b54a97f511e54d8e4387f8e7
parentaa2937568f9f34e831b52dc155a888fd763e47e2
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")
33e0e3ee5d776 ("bonding: set qdisc_tx_busylock to avoid LOCKDEP splat")
44816652ad3ee ("net: qdisc busylock needs lockdep annotations ")
2ca4e791393a5 ("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