RE: [PATCH] NET: Fix sch_prio to detect the root qdisc loading

2007-07-22 Thread Waskiewicz Jr, Peter P
> As explained in my last mail, sch->parent is an integer. And > it is set when grafting the qdisc, not on initilization, so > it is always 0 here when coming from prio_init. > > This untested patch should make sure its always set correctly. Yes, I'm using NULL and 0 interchangeably here, sinc

Re: [PATCH] NET: Fix sch_prio to detect the root qdisc loading

2007-07-22 Thread Patrick McHardy
PJ Waskiewicz wrote: > The sch->parent handle will be NULL for the scheduler that is TC_H_ROOT. > Change this check in prio_tune() so that only the root qdisc can be > multiqueue-enabled. > > Signed-off-by: Peter P Waskiewicz Jr <[EMAIL PROTECTED]> > --- > > net/sched/sch_prio.c |6 -- >