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

pkt_sched: Schedule qdiscs instead of netdev_queue.



When we have shared qdiscs, packets come out of the qdiscs
for multiple transmit queues.

Therefore it doesn't make any sense to schedule the transmit
queue when logically we cannot know ahead of time the TX
queue of the SKB that the qdisc->dequeue() will give us.

Just for sanity I added a BUG check to make sure we never
get into a state where the noop_qdisc is scheduled.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7698b4fc
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