diff options
Diffstat (limited to 'VNFs/DPPD-PROX/run.c')
-rw-r--r-- | VNFs/DPPD-PROX/run.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/VNFs/DPPD-PROX/run.c b/VNFs/DPPD-PROX/run.c index c05f0a9f..d568dba4 100644 --- a/VNFs/DPPD-PROX/run.c +++ b/VNFs/DPPD-PROX/run.c @@ -277,6 +277,15 @@ void __attribute__((noreturn)) run(uint32_t flags) stop_core_all(-1); } + struct lcore_cfg *lconf = NULL; + struct task_args *targ; + while (core_targ_next(&lconf, &targ, 0) == 0) { + if (targ->pool) { + rte_mempool_free(targ->pool); + plog_info("freeing pool %p\n", targ->pool); + targ->pool = NULL; + } + } if (prox_cfg.logbuf) { file_print(prox_cfg.logbuf); } |