numam-dpdk/drivers/dma
Kevin Laatz 8a6eb404c4 dma/idxd: fix memory leak in PCI close
ASAN reports a memory leak for the 'pci' pointer in the 'idxd_dmadev'
struct.

This is fixed by free'ing the struct when the last queue on the PCI
device is being closed.

Fixes: 9449330a84 ("dma/idxd: create dmadev instances on PCI probe")
Cc: stable@dpdk.org

Reported-by: Xingguang He <xingguang.he@intel.com>
Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2022-07-05 21:19:00 +02:00
..
cnxk dma/cnxk: fix installing internal headers 2022-01-27 18:11:11 +01:00
dpaa dma/dpaa: support statistics 2021-11-10 13:48:38 +01:00
dpaa2 remove unnecessary null checks 2022-06-24 14:51:09 +02:00
hisilicon dma/hisilicon: fix includes in header file 2022-06-15 16:33:42 +02:00
idxd dma/idxd: fix memory leak in PCI close 2022-07-05 21:19:00 +02:00
ioat dma/ioat: add burst capacity 2021-10-22 22:40:59 +02:00
skeleton dma/skeleton: support multiple instances 2022-06-15 16:17:52 +02:00
meson.build dma/dpaa2: introduce driver skeleton 2022-06-01 08:58:27 +02:00