netdev
[Top] [All Lists]

Re: [PATCH] qdisc oops fix

To: Julian Anastasov <ja@xxxxxx>
Subject: Re: [PATCH] qdisc oops fix
From: devik <devik@xxxxxx>
Date: Wed, 16 Apr 2003 08:30:45 +0200 (CEST)
Cc: Tomas Szepe <szepe@xxxxxxxxxxxxxxx>, <netdev@xxxxxxxxxxx>, jamal <hadi@xxxxxxxxxx>
In-reply-to: <Pine.LNX.4.44.0304160132130.1322-100000@u.domain.uli>
Sender: netdev-bounce@xxxxxxxxxxx
Hello,

The bug you are speaking about was fixed at 27 Jan 2003
and is included in 2.4.21pre (I hope ;-).
I'm attaching diff from 2.4.20 version to my current one.

regards,
-------------------------------
    Martin Devera aka devik
Linux kernel QoS/HTB maintainer
  http://luxik.cdi.cz/~devik/

On Wed, 16 Apr 2003, Julian Anastasov wrote:

>
>       Hello,
>
>       May be this is not the right fix:
>
> > -       sch = kmalloc(size, GFP_KERNEL);
> > +       sch = kmalloc(size, GFP_ATOMIC);
>
>       better Devik to provide fix for htb_change_class that will not
> call qdisc_create_dflt under bh lock (sch_tree_lock).
>
> Regards
>
> --
> Julian Anastasov <ja@xxxxxx>
>
>

Attachment: htb_2.4.20_1.19.diff
Description: Text document

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