diff mbox series

[3/6] test/event_crypto: fix to avail the mempool entries

Message ID 20191001113339.21767-3-hemant.agrawal@nxp.com
State Superseded
Headers show
Series [1/6] test/event_crypto: fix missing IV value for AES algo | expand

Commit Message

Hemant Agrawal Oct. 1, 2019, 11:33 a.m. UTC
Added the missed code to avail the mempool entries before
pool free.

Fixes: 24054e3640a2 ("test/crypto: use separate session mempools");
Cc: stable@dpdk.org

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>

---
The file location has been changed, thus check-git-log is giving err on
this patch
 app/test/test_event_crypto_adapter.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.17.1
diff mbox series

Patch

diff --git a/app/test/test_event_crypto_adapter.c b/app/test/test_event_crypto_adapter.c
index d3d19b98e..8d42462d8 100644
--- a/app/test/test_event_crypto_adapter.c
+++ b/app/test/test_event_crypto_adapter.c
@@ -905,6 +905,7 @@  crypto_teardown(void)
 		params.session_mpool = NULL;
 	}
 	if (params.session_priv_mpool != NULL) {
+		rte_mempool_avail_count(params.session_priv_mpool);
 		rte_mempool_free(params.session_priv_mpool);
 		params.session_priv_mpool = NULL;
 	}