Jarek Poplawski 926e61b7c4 pkt_sched: Fix tx queue selection in tc_modify_qdisc
After the recent mq change there is the new select_queue qdisc class
method used in tc_modify_qdisc, but it works OK only for direct child
qdiscs of mq qdisc. Grandchildren always get the first tx queue, which
would give wrong qdisc_root etc. results (e.g. for sch_htb as child of
sch_prio). This patch fixes it by using parent's dev_queue for such
grandchildren qdiscs. The select_queue method's return type is changed
BTW.

With feedback from: Patrick McHardy <kaber@trash.net>

Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-09-15 02:53:07 -07:00
..
2009-09-03 20:02:17 -07:00
2009-09-14 17:03:09 -07:00
2009-09-01 17:40:57 -07:00
2009-08-19 23:08:24 +04:00
2009-09-02 01:03:53 -07:00
2009-09-14 17:03:09 -07:00
2009-09-02 01:03:53 -07:00
2009-09-14 17:03:09 -07:00
2009-09-14 17:03:09 -07:00
2009-09-14 17:03:05 -07:00
2009-09-11 14:59:37 -04:00
2009-09-02 01:03:53 -07:00