Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bus/vdev: fix devargs in secondary process
[ upstream commit 6666628362c94a0b567a39a0177539c12c97d999 ] When a device is created by a secondary process, an empty devargs is temporarily generated and bound to it. This causes the device to not be associated with the correct devargs, and the empty devargs are not released when the resource is freed. This patch fixes the issue by matching the devargs when inserting a device in secondary process. Fixes: dda9873 ("vdev: make virtual bus use its device struct") Fixes: a160404 ("eal: extract vdev infra") Signed-off-by: Mingjin Ye <mingjinx.ye@intel.com> Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
- Loading branch information