• David S. Miller's avatar
    pkt_sched: Schedule qdiscs instead of netdev_queue. · 37437bb2
    David S. Miller authored
    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>
    37437bb2
sch_api.c 33.3 KB