numam-dpdk/drivers/bus/pci
Yunjian Wang e34a43a672 bus/pci: fix memory leak when unmapping VFIO resource
The 'vfio_res' is not freed when unmapping resource by primary process.
This leads to memory leak.

Fixes: ab53203e19 ("vfio: enable unmapping resource for secondary")
Cc: stable@dpdk.org

Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
2020-10-05 10:08:57 +02:00
..
bsd mem: drop mapping API workaround 2020-09-21 10:12:10 +02:00
linux bus/pci: fix memory leak when unmapping VFIO resource 2020-10-05 10:08:57 +02:00
windows bus/pci: switch to private kernel driver enum 2020-09-21 10:11:44 +02:00
meson.build bus/pci: introduce Windows support with stubs 2020-06-30 00:02:54 +02:00
pci_common_uio.c mem: drop mapping API workaround 2020-09-21 10:12:10 +02:00
pci_common.c bus/pci: query PCI extended capabilities 2020-09-30 19:19:11 +02:00
pci_params.c devargs: rename enum items with singular form 2018-10-11 13:57:29 +02:00
private.h bus/pci: remove duplicate declaration 2020-09-21 10:12:10 +02:00
rte_bus_pci_version.map bus/pci: query PCI extended capabilities 2020-09-30 19:19:11 +02:00
rte_bus_pci.h bus/pci: query PCI extended capabilities 2020-09-30 19:19:11 +02:00