On Fri, Apr 08, 2022 at 03:15:00PM +0100, Kevin Laatz wrote: > 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: 9449330a8458 ("dma/idxd: create dmadev instances on PCI probe") > Cc: sta...@dpdk.org > Cc: bruce.richard...@intel.com > > Reported-by: Xingguang He <xingguang...@intel.com> > Signed-off-by: Kevin Laatz <kevin.la...@intel.com> > --- Acked-by: Bruce Richardson <bruce.richard...@intel.com>
- [PATCH 0/5] Fix IDXD PCI device close Kevin Laatz
- [PATCH 1/5] dma/idxd: fix memory leak in pci close Kevin Laatz
- Re: [PATCH 1/5] dma/idxd: fix memory leak in pci... Bruce Richardson
- [PATCH 3/5] app/test: close dma devices during clean... Kevin Laatz
- Re: [PATCH 3/5] app/test: close dma devices duri... Bruce Richardson
- Re: [PATCH 3/5] app/test: close dma devices ... Kevin Laatz
- [PATCH 2/5] dma/idxd: fix memory leak due to free on... Kevin Laatz
- Re: [PATCH 2/5] dma/idxd: fix memory leak due to... Bruce Richardson
- Re: [PATCH 2/5] dma/idxd: fix memory leak du... Kevin Laatz
- [PATCH 4/5] app/testpmd: stop and close dmadevs at e... Kevin Laatz
- Re: [PATCH 4/5] app/testpmd: stop and close dmad... Bruce Richardson
- [PATCH 5/5] examples/dma: fix missing dma close Kevin Laatz