[PATCH] qdisc oops fix

Tomas Szepe (szepe@pinerecords.com)
Tue, 15 Apr 2003 10:18:19 +0200


Marcelo, Alan,

The following patch (recently posted by Martin Volf <mv@inv.cz>) indeed
fixes the described (Message-Id: <20030412102137.38b4d3d9.mv@inv.cz>)
instability issue.

Please apply,

-- 
Tomas Szepe <szepe@pinerecords.com>

--- sch_generic.c.orig 2003-01-04 14:42:02.000000000 +0100 +++ sch_generic.c 2003-04-12 08:58:34.000000000 +0200 @@ -372,7 +372,7 @@ struct Qdisc *sch; int size = sizeof(*sch) + ops->priv_size; - sch = kmalloc(size, GFP_KERNEL); + sch = kmalloc(size, GFP_ATOMIC); if (!sch) return NULL; memset(sch, 0, size); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/