On 3/20/2024 2:52 PM, shaib...@amazon.com wrote: > From: Shai Brandes <shaib...@amazon.com> > > 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: sta...@dpdk.org > > Signed-off-by: Shai Brandes <shaib...@amazon.com> >
Acked-by: Ferruh Yigit <ferruh.yi...@amd.com> Applied to dpdk-next-net/main, thanks.