Reviewed-by: Mikulas Patocka
On Wed, 21 Sep 2016, Rabin Vincent wrote:
> From: Rabin Vincent
>
> As the documentation for kthread_stop() says, "if threadfn() may call
> do_exit() itself, the caller must ensure task_struct can't go away".
> dm-crypt does not ensure this and therefore crashes w
From: Rabin Vincent
As the documentation for kthread_stop() says, "if threadfn() may call
do_exit() itself, the caller must ensure task_struct can't go away".
dm-crypt does not ensure this and therefore crashes when crypt_dtr()
calls kthread_stop(). The crash is trivially reproducible by adding
2 matches
Mail list logo