[dpdk-dev] [PATCH] devargs: fix freeing during device removal

Thomas Monjalon thomas at monjalon.net
Fri Oct 19 22:53:19 CEST 2018


18/10/2018 02:19, Thomas Monjalon:
> After calling unplug function of a bus, the device is expected
> to be freed. It is too late for getting devargs to remove.
> Anyway, the buses which implement unplug are already freeing
> the devargs, except the PCI bus.
> So the call to rte_devargs_remove() is removed from EAL and
> added in PCI.
> 
> Fixes: 2effa126fbd8 ("devargs: simplify parameters of removal function")
> 
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>

Applied





More information about the dev mailing list