On 3/20/2024 2:52 PM, [email protected] wrote:
> From: Shai Brandes <[email protected]>
> 
> Fixed an issue of double free of mbufs which is exposed
> in mbuf fast free mode when handling multi-mbuf packets.
> 
> The faulty patch mishandled free of non-head mbufs as it
> iterated over linked mbufs and collected them into an array,
> which was then passed to rte_pktmbuf_free_bulk.
> However, rte_pktmbuf_free_bulk already performs an internal iteration
> over mbufs that are linked together which led to double free.
> 
> Fixes: 89b081e154c5 ("net/ena: fix fast mbuf free")
> Cc: [email protected]
> 
> Signed-off-by: Shai Brandes <[email protected]>
>

Acked-by: Ferruh Yigit <[email protected]>

Applied to dpdk-next-net/main, thanks.

Reply via email to