> In fill_multi_seg_mbuf(), when remaining_segments is 0, rte_mbuf m's next
> should pointer to NULL instead of a new rte_mbuf, that causes setting m->next
> as NULL out of the while loop to the invalid mbuf.
>
> This commit fixes the invalid mbuf next operation.
>
> Fixes: bf9d6702eca9 ("app/crypto-perf: use single mempool")
>
> Signed-off-by: Suanming Mou <[email protected]>Acked-by: Anoob Joseph <[email protected]>

