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

From: Ingo Molnar
Date: Tue Aug 31 2010 - 15:20:02 EST



* Eric Dumazet <eric.dumazet@xxxxxxxxx> wrote:

> [PATCH] vhost: stop worker only if created

This seems to have done the trick, thanks Eric.

Tested-by: Ingo Molnar <mingo@xxxxxxx>

> Its illegal to call kthread_stop(NULL)

s/illegal/invalid

Thanks,

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