git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
service: fix crash on exit
[dpdk.git]
/
lib
/
librte_eal
/
common
/
rte_service.c
diff --git
a/lib/librte_eal/common/rte_service.c
b/lib/librte_eal/common/rte_service.c
index
7e537b8
..
b0b78ba
100644
(file)
--- a/
lib/librte_eal/common/rte_service.c
+++ b/
lib/librte_eal/common/rte_service.c
@@
-122,6
+122,9
@@
rte_service_finalize(void)
if (!rte_service_library_initialized)
return;
+ rte_service_lcore_reset_all();
+ rte_eal_mp_wait_lcore();
+
rte_free(rte_services);
rte_free(lcore_states);