[NET]: Fix prio_tune() handling of root qdisc.
authorPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Tue, 31 Jul 2007 00:13:45 +0000 (17:13 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 31 Jul 2007 09:28:20 +0000 (02:28 -0700)
commit0773192b0f8914222cd27e682c49f978a6c7860a
tree0703cbc095825c3839422347c91fa0de03d5e180
parentffc8fefaf289fa485bc5c33e71572e6ce559d569
[NET]: Fix prio_tune() handling of root qdisc.

Fix the check in prio_tune() to see if sch->parent is TC_H_ROOT instead of
sch->handle to load or reject the qdisc for multiqueue devices.

Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_prio.c