netdev
[Top] [All Lists]

Re: Kernel BUG: Qos seg. fault

To: Dmitry Torokhov <dtor_core@xxxxxxxxxxxxx>
Subject: Re: Kernel BUG: Qos seg. fault
From: jamal <hadi@xxxxxxxxxx>
Date: 24 May 2004 17:32:35 -0400
Cc: Jaume Catarineu <jaume.catarineu@xxxxxxx>, "David S. Miller" <davem@xxxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <20040524212553.52149.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
Organization: jamalopolis
References: <20040524212553.52149.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: hadi@xxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
On Mon, 2004-05-24 at 17:25, Dmitry Torokhov wrote:

> The only reason TBF has a class is that within current framework 
> net/sched framework child qdisc can only be attached to a class.
> So TBF defines a class (there is only one per TBF qdisc, it's
> created automatically and can not be changed) much like sch_prio
> does. The difference is that sch_prio can have up to TCQ_PRIO_BANDS
> children so implementing filters for sch_prio makes sense. TBF has
> one and only one child qdisc. It starts with noop_qdisc from
> sch_generic and later user can change to to something else, like
> original poster did.
>
> Since TBF has only one child no matter what I contend that 
> implementing filters for TBF does not make sense, filters should
> be attached either to TBF's child ot to TBF's parent but not to
> TBF itself.

Ok, understood. Why does TBF have only one child? 

cheers,
jamal

PS:- Very strange how netdev is not allowing my postings through.


<Prev in Thread] Current Thread [Next in Thread>