On 4/6/2021 6:25 AM, Michał Krawczyk wrote:
wt., 6 kwi 2021 o 02:27 David Harton <[email protected]> napisał(a):When ena_tx_queue_release_bufs() frees the mbufs it does not clear the mbuf pointers. So, when the device starts and stops multiple times it can cause the application to receive duplicate mbufs for two different packets. Fix the issue by clearing the mbuf pointer. Also, while tracking down the "double free" issue the ena calls to allocate and free mbufs in bulk were migrated to the mbuf based APIs so the common mbuf alloc/free routines are exercised. Fixes: 79405ee17585 ("net/ena: fix out of order completion") Fixes: 1173fca25af9 ("ena: add polling-mode driver") Signed-off-by: David Harton <[email protected]>Acked-by: Michal Krawczyk <[email protected]>
Applied to dpdk-next-net/main, thanks.

