netdev
[Top] [All Lists]

Re: [PATCH 2.6 NET] Fixes slab corruption in cbq_destroy

To: Thomas Graf <tgraf@xxxxxxx>
Subject: Re: [PATCH 2.6 NET] Fixes slab corruption in cbq_destroy
From: "David S. Miller" <davem@xxxxxxxxxxxxx>
Date: Thu, 16 Sep 2004 13:29:23 -0700
Cc: kaber@xxxxxxxxx, kuznet@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20040916132856.GA27293@postel.suug.ch>
References: <20040916132856.GA27293@postel.suug.ch>
Sender: netdev-bounce@xxxxxxxxxxx
On Thu, 16 Sep 2004 15:28:56 +0200
Thomas Graf <tgraf@xxxxxxx> wrote:

> Fixes slab corruption in cbq_destroy. cbq_destroy_filters and
> qdisc_put_rtab(q->link.R_tab) are already called in cbq_destroy_class.
> The latter lead to a slab corruption due to repeated freeing of
> q->link.R_tab because q->link is part of q->classes. Problem introduced
> in 1.21.

Good catch, applied.

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