Sorry, I just noticed that I forgot to destroy the initialized mtx before failing or unloading. V2 is to fix this issue.
--- v2: destroy the initialized mtx before failing or unloading Tiwei Bie (2): contigmem: free the allocated memory when error occurs contigmem: don't zero the pages during each mmap lib/librte_eal/bsdapp/contigmem/contigmem.c | 194 ++++++++++++++++++++++++---- 1 file changed, 168 insertions(+), 26 deletions(-) -- 2.12.1