> 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/c
> -Original Message-
> From: Suanming Mou
> Sent: Thursday, January 4, 2024 2:24 AM
> To: ano...@marvell.com; Power, Ciara
> Cc: dev@dpdk.org
> Subject: [PATCH v2] app/test-crypto-perf: fix invalid mbuf next operation
>
> In fill_multi_seg_mbuf(), when
> 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/cry
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
4 matches
Mail list logo