netdev
[Top] [All Lists]

Re: patch: annoying u32 double listing

To: Patrick McHardy <kaber@xxxxxxxxx>
Subject: Re: patch: annoying u32 double listing
From: Thomas Graf <tgraf@xxxxxxx>
Date: Sun, 6 Feb 2005 23:12:15 +0100
Cc: jamal <hadi@xxxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <4206906A.2060501@xxxxxxxxx>
References: <1107719343.1055.22.camel@xxxxxxxxxxxxxxxx> <20050206212928.GV31837@xxxxxxxxxxxxxx> <4206906A.2060501@xxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
* Patrick McHardy <4206906A.2060501@xxxxxxxxx> 2005-02-06 22:47
> Thomas Graf wrote:
> 
> >Another
> >quite anoying detail is the fact that cbq uses the same handle for
> >both the root qdisc and root class which makes it impossible to uniquely
> >assign filters attached to it, i.e. listing filters based on
> >parent == XX: && dev == %DEV will result in the filters being listed
> >for both the qdisc and the class.
> >
> CBQ and HFSC only support filters attached to classes for exactly this
> reason :) Shouldn't make any difference from a users perspective.

I'm aware of it and that's not the problem. The problem is that if the
user requests the filters attached to parent XX: he can't tell whether
the qdisc or class parent is meant without checking for hardcoded
qdisc kinds which makes it pretty much impossible to generate
qdisc/class/filter trees in a generic way. It's just something anoying
not a bug.

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