[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4F2632C7.2000203@suse.com>
Date: Mon, 30 Jan 2012 11:33:51 +0530
From: Suresh Jayaraman <sjayaraman@...e.com>
To: Tejun Heo <tj@...nel.org>
CC: Vivek Goyal <vgoyal@...hat.com>,
Dirk Gouders <gouders@...bocholt.fh-gelsenkirchen.de>,
LKML <linux-kernel@...r.kernel.org>, Jens Axboe <axboe@...nel.dk>
Subject: Re: Slab corruption in floppy driver module
On 01/30/2012 01:06 AM, Tejun Heo wrote:
> On Fri, Jan 27, 2012 at 02:54:55PM -0500, Vivek Goyal wrote:
>> floppy: Fix a crash during rmmmod
>>
>> floppy driver does not call add_disk() on all the drives hence we don't take
>> gendisk reference on request queue for these drives. Don't call put_disk()
>> with disk->queue set, otherwise we try to put the reference we never took.
>>
>> Reported-by: Dirk Gouders <gouders@...bocholt.fh-gelsenkirchen.de>
>> Signed-off-by: Vivek Goyal<vgoyal@...hat.com>
>
> Ugh... floppy init is ugly. Thanks for fixing this.
>
> Acked-by: Tejun Heo <tj@...nel.org>
>
> Jens, this one and the previous one are regression fixes and need to
> be routed through v3.3-fixes.
>
Looks like it needs to be marked for -stable as well as the commit
f992ae8 which exposed these problems was originally marked for -stable?
Suresh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists