diff options
| author | Jason Wang <[email protected]> | 2020-09-07 10:43:43 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <[email protected]> | 2020-09-24 09:54:36 +0000 |
| commit | a127c5bbb6a8eee851cbdec254424c480b8edd75 (patch) | |
| tree | fa7fd3643b97a596e38ba016d96e4aeeca0e7d61 /drivers/usb/cdns3/cdns3-imx.c | |
| parent | vhost: Fix documentation (diff) | |
| download | kernel-a127c5bbb6a8eee851cbdec254424c480b8edd75.tar.gz kernel-a127c5bbb6a8eee851cbdec254424c480b8edd75.zip | |
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 <[email protected]>
Reported-by: Zhu Lingshan <[email protected]>
Fixes: 653055b9acd4 ("vhost-vdpa: support get/set backend features")
Signed-off-by: Jason Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions
