[NET]: Fix sch_api to properly set sch->parent on the root.
authorPatrick McHardy <trash@kaber.net>
Tue, 31 Jul 2007 00:11:50 +0000 (17:11 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 31 Jul 2007 09:28:19 +0000 (02:28 -0700)
commitffc8fefaf289fa485bc5c33e71572e6ce559d569
treed96daba747cb1da1d4b352a4572965d2788e2f0a
parentbdba91ec70fb5ccbdeb1c7068319adc6ea9e1a7d
[NET]: Fix sch_api to properly set sch->parent on the root.

Fix sch_api to correctly set sch->parent for both ingress and egress
qdiscs in qdisc_create().

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