Skip to content
Commit fe37efba authored by Dragos Tatulea's avatar Dragos Tatulea Committed by Michael S. Tsirkin
Browse files

virtio-vdpa: Fix unchecked call to NULL set_vq_affinity



The referenced patch calls set_vq_affinity without checking if the op is
valid. This patch adds the check.

Fixes: 3dad5682 ("virtio-vdpa: Support interrupt affinity spreading mechanism")
Reviewed-by: default avatarGal Pressman <gal@nvidia.com>
Signed-off-by: default avatarDragos Tatulea <dtatulea@nvidia.com>
Message-Id: <20230504135053.2283816-1-dtatulea@nvidia.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Reviewed-by: default avatarFeng Liu <feliu@nvidia.com>
parent ef9da01c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment