netdev
[Top] [All Lists]

Re: Kernel BUG: Qos seg. fault (part II)

To: Jaume Catarineu <jaume.catarineu@xxxxxxx>
Subject: Re: Kernel BUG: Qos seg. fault (part II)
From: jamal <hadi@xxxxxxxxxx>
Date: 24 May 2004 22:08:21 -0400
Cc: Dmitry Torokhov <dtor_core@xxxxxxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxx>, netdev@xxxxxxxxxxx, Francois Romieu <romieu@xxxxxxxxxxxxx>
In-reply-to: <40B2BD99.4000500@xxxxxxx>
Organization: jamalopolis
References: <20040524215346.73109.qmail@xxxxxxxxxxxxxxxxxxxxxxx> <1085436571.1041.69.camel@xxxxxxxxxxxxxxxx> <40B2BD99.4000500@xxxxxxx>
Reply-to: hadi@xxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
On Mon, 2004-05-24 at 23:29, Jaume Catarineu wrote:
> Hi again,
> 
> I've found another problem that seems strongly related to the first one.
> In this case we just need a TBF root qdisc:
> 
>   tc qdisc add dev lo root handle 1: tbf rate 250kbit burst 5k limit 5k
> 
> After adding it, when we ask for the filters...
> 
>   tc filter show dev lo
> 
> Voilà!
> 
>    Segmentation fault
> 
> Does the patch provided by Dmitry arrange this? And the Jamal's patch? 
> Which is better?

Use Dmitry's patch. I believe it would fix the above too.
You should get an EINVAL error unless you specify the correct
child id (such as tc filter show dev lo parent 20: )

cheers,
jamal


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