[PATCH v2] bus: fix leak for devices without driver

David Marchand david.marchand at redhat.com
Fri Feb 10 12:55:18 CET 2023


On Fri, Feb 10, 2023 at 10:29 AM Kevin Laatz <kevin.laatz at intel.com> wrote:
>
> On 09/02/2023 13:22, Volodymyr Fialko wrote:
> > During the bus scan, memory for device configuration is allocated.
> > Currently, if a driver wasn't attached to the device during initialization,
> > memory for that device will not be released at bus cleanup.
> > This patch address this issue and releases the memory for all allocated
> > devices.
> >
> > Fixes: 1cab1a40ea9b ("bus: cleanup devices on shutdown")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Volodymyr Fialko <vfialko at marvell.com>
> Acked-by: Kevin Laatz <kevin.laatz at intel.com>

Applied, thanks.


-- 
David Marchand



More information about the dev mailing list