On 11-Sep-20 12:08 PM, wangyunjian wrote:
From: Yunjian Wang <[email protected]>Currently, only the 'vfio_dev_fd' is closed in failure path, so some resources are not released(such as 'vfio_group_fd'). The rte_vfio_release_device() should be used to avoid this problem. Fixes: 33604c31354a ("vfio: refactor PCI BAR mapping") Cc: [email protected] Signed-off-by: Yunjian Wang <[email protected]> ---
Reviewed-by: Anatoly Burakov <[email protected]> -- Thanks, Anatoly

