diff options
author | Yi Liu <[email protected]> | 2023-07-18 06:55:41 -0700 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2023-07-25 10:19:22 -0600 |
commit | 291872a533a2cdea8df1ae157987cd7ab3939421 (patch) | |
tree | a2ba5d3e9eec9927b729a699c57b9b0924d69ada /drivers/fpga/xilinx-selectmap.c | |
parent | 8cfa71860233652f8566bcdf55e77aefe0017b4a (diff) |
vfio: Move vfio_device_group_unregister() to be the first operation in unregister
This avoids endless vfio_device refcount increment by userspace, which
would keep blocking the vfio_unregister_group_dev().
Reviewed-by: Jason Gunthorpe <[email protected]>
Tested-by: Nicolin Chen <[email protected]>
Tested-by: Matthew Rosato <[email protected]>
Tested-by: Yanting Jiang <[email protected]>
Tested-by: Shameer Kolothum <[email protected]>
Tested-by: Terrence Xu <[email protected]>
Tested-by: Zhenzhong Duan <[email protected]>
Signed-off-by: Yi Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-selectmap.c')
0 files changed, 0 insertions, 0 deletions