Re: [BUG 2.6.36-rc6] list corruption in module_bug_finalize

From: Linus Torvalds
Date: Tue Oct 05 2010 - 11:35:57 EST


On Tue, Oct 5, 2010 at 12:30 AM, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> On Tue, 5 Oct 2010, Rusty Russell wrote:
>
>> On Tue, 5 Oct 2010 09:13:38 am Thomas Gleixner wrote:
>> > The patch below cures it.
>>
>> Using module_mutex here is just lazy...  Here's 5c, go buy your own lock :)
>
> I'm lazy. :) My evil plan of sending a crap patch so it gets replaced
> by a nice one worked well :)

Can you test the one I sent out (the second one with the trivial
module unload fix)? My own testing would be pretty pointless, since I
don't use modules myself (I've compile-tested it, and it all looks
sane, but...)

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/