Re: vhost_dev_cleanup() crash: BUG: unable to handle kernel NULLpointer dereference

From: David Miller
Date: Wed Sep 01 2010 - 21:27:29 EST


From: "Michael S. Tsirkin" <mst@xxxxxxxxxx>
Date: Thu, 2 Sep 2010 00:42:21 +0300

> On Wed, Sep 01, 2010 at 02:25:28PM -0700, David Miller wrote:
>> From: Eric Dumazet <eric.dumazet@xxxxxxxxx>
>> Date: Tue, 31 Aug 2010 14:05:57 +0200
>>
>> > [PATCH v2] vhost: stop worker only if created
>> >
>> > Its currently illegal to call kthread_stop(NULL)
>> >
>> > Reported-by: Ingo Molnar <mingo@xxxxxxx>
>> > Signed-off-by: Eric Dumazet <eric.dumazet@xxxxxxxxx>
>>
>> I'll apply this thanks Eric.
>
> Yes, it looks good thanks!
> Acked-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
>
> Or you can wait for my pull request (will have a couple other regression
> fixes).

I'll keep it in my tree and whether it's in your's or not git merge
will work it out.
--
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/