team: set qdisc_tx_busylock to avoid LOCKDEP splat
authorEric Dumazet <edumazet@google.com>
Wed, 3 Oct 2012 23:18:39 +0000 (23:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Oct 2012 19:53:48 +0000 (15:53 -0400)
commitb3c581d5d7130fc7f2eab9ab14c8de8882b42380
treeab901b485b68f3deb3a2f4ccd44b97d2563b3f9e
parent49ee49202b4ac4be95d05e4bf24a9ac8b54c5528
team: set qdisc_tx_busylock to avoid LOCKDEP splat

If a qdisc is installed on a team device, its possible to get
a lockdep splat under stress, because nested dev_queue_xmit() can
lock busylock a second time (on a different device, so its a false
positive)

Avoid this problem using a distinct lock_class_key for team
devices.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Jiri Pirko <jpirko@redhat.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/team/team.c