netdev: Fix lockdep warnings in multiqueue configurations.
authorDavid S. Miller <davem@davemloft.net>
Thu, 31 Jul 2008 23:58:50 +0000 (16:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Jul 2008 23:58:50 +0000 (16:58 -0700)
commitc3f26a269c2421f97f10cf8ed05d5099b573af4d
treed0602cbb48742b3e39ab6bdcaa08c342d4cd2cae
parent967ab999a090b1a4e7d3c7febfd6d89b42fb4cf4
netdev: Fix lockdep warnings in multiqueue configurations.

When support for multiple TX queues were added, the
netif_tx_lock() routines we converted to iterate over
all TX queues and grab each queue's spinlock.

This causes heartburn for lockdep and it's not a healthy
thing to do with lots of TX queues anyways.

So modify this to use a top-level lock and a "frozen"
state for the individual TX queues.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ifb.c
include/linux/netdevice.h
net/core/dev.c
net/core/netpoll.c
net/core/pktgen.c
net/sched/sch_generic.c
net/sched/sch_teql.c