Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app/crypto-perf: fix next segment mbuf
[ upstream commit 06a109ca5dc551631d9251e81966a4bc52f98c5a ] 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: bf9d670 ("app/crypto-perf: use single mempool") Signed-off-by: Suanming Mou <suanmingm@nvidia.com> Acked-by: Anoob Joseph <anoobj@marvell.com> Acked-by: Ciara Power <ciara.power@intel.com>
- Loading branch information