> -----Original Message----- > From: dev <[email protected]> On Behalf Of Ruifeng Wang > Sent: Monday, 31 August, 2020 10:52 > To: Doherty, Declan <[email protected]>; Trahe, Fiona > <[email protected]>; Griffin, John <[email protected]>; Des O Dea > <[email protected]>; Sergio Gonzalez Monroy > <[email protected]> > Cc: [email protected]; [email protected]; [email protected]; > [email protected]; Ruifeng Wang <[email protected]>; [email protected] > Subject: [dpdk-dev] [PATCH 1/3] test/crypto: fix stat test > > ut_setup / ut_teardown are invoked for each test case by test framework. > The call inside test_stats is unnecessary and even incorrect. > This caused double free of objects such as crypto operation structure. > Trapped the issue when RTE_LIBRTE_MEMPOOL_DEBUG was enabled. > Fix issue by removing ut_setup / ut_teardown from test case > implementation. > > Fixes: 202d375c60bc ("app/test: add cryptodev unit and performance tests") > Cc: [email protected] > Cc: [email protected] > > Signed-off-by: Ruifeng Wang <[email protected]>
Tested-by: Adam Dybkowski <[email protected]>

