Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ upstream commit 33666b4 ] This commit releases all service cores from their role, returning them to ROLE_RTE on rte_service_finalize(). This fixes an issue relating to the service cores causing a race-condition on rte_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: da23f0a ("service: fix memory leak with new function") Reported-by: David Marchand <david.marchand@redhat.com> Reported-by: Aaron Conole <aconole@redhat.com> Signed-off-by: David Marchand <david.marchand@redhat.com> Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com> Acked-by: Aaron Conole <aconole@redhat.com>
- Loading branch information