Merge pull request #227 from lyuxiaosu/onvm_remove_mtcp_session

Fixed mtcp doesn't notify onvm to reclaim resource when a mtcp based …
master
Asim Jamshed 2019-03-23 14:44:55 -07:00 committed by GitHub
commit cc7f751656
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -1638,6 +1638,11 @@ mtcp_destroy()
#ifndef DISABLE_DPDK
mpz_clear(CONFIG._cpumask);
#endif
#ifdef ENABLE_ONVM
onvm_nflib_stop(CONFIG.nf_info);
#endif
TRACE_INFO("All MTCP threads are joined.\n");
}
/*----------------------------------------------------------------------------*/