Skip to content
Commit 78b620ce authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

vhost: stop worker only if created



Its currently illegal to call kthread_stop(NULL)

Reported-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Acked-by: default avatarTejun Heo <tj@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent aa8a9e25
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment