Re: [PATCH v2] vhost/vsock: don't check owner in vhost_vsock_stop() while releasing
From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-02-23 12:40:20
Also in:
kvm, lkml, stable
From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-02-23 12:40:20
Also in:
kvm, lkml, stable
Hello: This patch was applied to netdev/net.git (master) by David S. Miller [off-list ref]: On Tue, 22 Feb 2022 10:47:42 +0100 you wrote:
vhost_vsock_stop() calls vhost_dev_check_owner() to check the device ownership. It expects current->mm to be valid. vhost_vsock_stop() is also called by vhost_vsock_dev_release() when the user has not done close(), so when we are in do_exit(). In this case current->mm is invalid and we're releasing the device, so we should clean it anyway. [...]
Here is the summary with links:
- [v2] vhost/vsock: don't check owner in vhost_vsock_stop() while releasing
https://git.kernel.org/netdev/net/c/a58da53ffd70
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html