[dpdk-stable] [PATCH v2] eal/service: fix exit by resetting service lcores

David Marchand david.marchand at redhat.com
Fri Mar 13 11:04:08 CET 2020


On Wed, Mar 11, 2020 at 3:39 PM Harry van Haaren
<harry.van.haaren at intel.com> wrote:
>
> This commit releases all service cores from their role,
> returning them to ROLE_RTE on rte_service_finalize().
>
> This may fix an issue relating to the service cores causing

s/may fix/fixes/

> a race-condition on eal_cleanup(), where the service core
> could still be executing while the main thread has already
> free-d the service memory, leading to a segfault.
>
> Fixes: 21698354c832 ("service: introduce service cores concept")

Replaced with:
Fixes: da23f0aa87d8 ("service: fix memory leak with new function")

> Cc: stable at dpdk.org
>
> Reported-by: David Marchand <david.marchand at redhat.com>
> Reported-by: Aaron Conole <aconole at redhat.com>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> Signed-off-by: Harry van Haaren <harry.van.haaren at intel.com>
> Acked-by: Aaron Conole <aconole at redhat.com>

Applied, thanks.


-- 
David Marchand



More information about the stable mailing list