[PATCH] test/crypto: fix for mbuf sanity check failure

Akhil Goyal gakhil at marvell.com
Wed Oct 1 09:43:03 CEST 2025


> Subject: [PATCH] test/crypto: fix for mbuf sanity check failure
> 
> This patch resolves the following mbuf sanity check errors.
>   - updating nb_segs and pkt_len in the head mbuf after
>     freeing intermediate nodes in the chain.
>   - fix incorrect usage of rte_pktmbuf_append by ensuring
>     the head mbuf is passed instead of an intermediate
>     node, allowing proper tail detection and metadata
>     update.
> 
> Fixes: dc3f6c5347b2 ("test/crypto: fix wireless auth digest segment")
> Fixes: 43220096d66a ("test/crypto: add PDCP cases for scatter gather")
> Fixes: dcdd01691f39 ("test/crypto: add GMAC SGL")
> Fixes: f3dbf94be60c ("app/test: check SGL on QAT")
Cc: stable at dpdk.org

> 
> Signed-off-by: Nithinsen Kaithakadan <nkaithakadan at marvell.com>
Acked-by: Akhil Goyal <gakhil at marvell.com>

Applied to dpdk-next-crypto
Thanks.


More information about the dev mailing list