Skip to content
Commit c3f26a26 authored by David S. Miller's avatar David S. Miller
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
parent 967ab999
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment