diff options
author | Jarek Poplawski <jarkao2@gmail.com> | 2009-09-15 11:53:07 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-15 11:53:07 +0200 |
commit | 926e61b7c44db83013159ac2f74bccd451607b5a (patch) | |
tree | 512b532e22d4374948e0d149902304edfbef7e25 /net/econet | |
parent | sky2: Make sure both ports initialize correctly (diff) | |
download | linux-926e61b7c44db83013159ac2f74bccd451607b5a.tar.xz linux-926e61b7c44db83013159ac2f74bccd451607b5a.zip |
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>
Diffstat (limited to 'net/econet')
0 files changed, 0 insertions, 0 deletions