pkt_sched: Remove the tx queue state check in qdisc_run()
authorJarek Poplawski <jarkao2@gmail.com>
Tue, 23 Sep 2008 08:05:56 +0000 (01:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Sep 2008 08:05:56 +0000 (01:05 -0700)
commitf4ab543201992fe499bef5c406e09f23aa97b4d5
treee5e52782cdc408bd27717d82e87535a24fd516d6
parentcd07a8ea0dd4b204919b4c9ced8d9efdd9924495
pkt_sched: Remove the tx queue state check in qdisc_run()

The current check wrongly uses the state of one (currently the first)
tx queue for all tx queues in case of non-default qdiscs. This check
mainly prevented requeuing loop with __netif_schedule(), but now it's
controlled inside __qdisc_run(), while dequeuing. The wrongness of
this check was first noticed by Herbert Xu.

Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/pkt_sched.h