Skip to content
Commit b9a59636 authored by Parav Pandit's avatar Parav Pandit Committed by Sasha Levin
Browse files

virtio: Protect vqs list access

[ Upstream commit 0e566c8f ]

VQs may be accessed to mark the device broken while they are
created/destroyed. Hence protect the access to the vqs list.

Fixes: e2dcdfe9

 ("virtio: virtio_break_device() to mark all virtqueues broken.")
Signed-off-by: default avatarParav Pandit <parav@nvidia.com>
Link: https://lore.kernel.org/r/20210721142648.1525924-4-parav@nvidia.com
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b264e37b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment