netdev
[Top] [All Lists]

Re: [PATCH 2.6 PKT_SCHED]: Fix scheduler/classifier module unload race

To: Patrick McHardy <kaber@xxxxxxxxx>
Subject: Re: [PATCH 2.6 PKT_SCHED]: Fix scheduler/classifier module unload race
From: "David S. Miller" <davem@xxxxxxxxxxxxx>
Date: Tue, 9 Nov 2004 21:46:11 -0800
Cc: netdev@xxxxxxxxxxx
In-reply-to: <418EA497.10302@trash.net>
References: <418EA497.10302@trash.net>
Sender: netdev-bounce@xxxxxxxxxxx
On Sun, 07 Nov 2004 23:41:27 +0100
Patrick McHardy <kaber@xxxxxxxxx> wrote:

> This patch fixes an scheduler/classifier module unload race.
> struct Qdisc_ops which includes the owner field is also part
> of the module's memory, so ops might already be freed when
> try_module_get(ops->owner) is called outside of the locked
> section.

Applied, thanks a lot Patrick.

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