Re: [BUG] disk_free_ptbl_rcu_cb() crash

From: Jens Axboe
Date: Sun Oct 24 2010 - 02:46:11 EST


On 2010-10-24 08:44, Eric Dumazet wrote:
> Le dimanche 24 octobre 2010 Ã 08:04 +0200, Jens Axboe a Ãcrit :
>> On 2010-10-23 23:10, Eric Dumazet wrote:
>>> Current Linus tree makes my machine crash in disk_free_ptbl_rcu_cb(),
>>> while booting...
>>>
>>> commit 7681bfeeccff5ef seems the problem ?
>>>
>>> Following patch solves the NULL dereference, but this is only to show
>>> you where the problem is, not a real fix, of course.
>>
>> Darn. Your fix is on the right path, you missed one though. I think it's
>> cleaner to move this into the elevator helpers, so that the callers can
>> remain clean.
>>
>> Can you verify that this works too?
>
> Sure, I did right now and it works too, thanks !

Thanks for the (very) quick turn-around, I'll get this one expedited
as well.

--
Jens Axboe

--
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/