summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2020-09-07 13:43:43 +0300
committerMichael S. Tsirkin <mst@redhat.com>2020-09-24 12:54:36 +0300
commita127c5bbb6a8eee851cbdec254424c480b8edd75 (patch)
treefa7fd3643b97a596e38ba016d96e4aeeca0e7d61 /lib
parent71c548c26de20334cf0d52217de0b02471442e6a (diff)
downloadlinux-a127c5bbb6a8eee851cbdec254424c480b8edd75.tar.xz
vhost-vdpa: fix backend feature ioctls
Commit 653055b9acd4 ("vhost-vdpa: support get/set backend features") introduces two malfunction backend features ioctls: 1) the ioctls was blindly added to vring ioctl instead of vdpa device ioctl 2) vhost_set_backend_features() was called when dev mutex has already been held which will lead a deadlock This patch fixes the above issues. Cc: Eli Cohen <elic@nvidia.com> Reported-by: Zhu Lingshan <lingshan.zhu@intel.com> Fixes: 653055b9acd4 ("vhost-vdpa: support get/set backend features") Signed-off-by: Jason Wang <jasowang@redhat.com> Link: https://lore.kernel.org/r/20200907104343.31141-1-jasowang@redhat.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions