Re: [dpdk-dev] [PATCH v4] app/test: fix reorder test failure

2018-05-13 Thread Thomas Monjalon
04/05/2018 12:47, Reshma Pattan: > mbufs are being freed twice in error, once in rte_mempool_put_bulk() > and then in rte_reorder_free(). Refactor the code so that we use > rte_reorder_free() to free mbufs in the reorder buffer, and use > rte_pktmbuf_free() to free any unused or drained mbufs. > >

[dpdk-dev] [PATCH v4] app/test: fix reorder test failure

2018-05-04 Thread Reshma Pattan
mbufs are being freed twice in error, once in rte_mempool_put_bulk() and then in rte_reorder_free(). Refactor the code so that we use rte_reorder_free() to free mbufs in the reorder buffer, and use rte_pktmbuf_free() to free any unused or drained mbufs. Fixes: d0c9b58d71 ("app/test: new reorder un