numam-dpdk/drivers/net/enetfec
Apeksha Gupta fe10f6cc1c net/enetfec: fix buffer leak
Driver has no proper handling to free unused
allocated mbufs in case of error or when the rx
processing complete because of which mempool
can be empty after some time.

This patch fixes this issue by moving the buffer
allocation code to the right place in driver.

Fixes: ecae71571b ("net/enetfec: support Rx/Tx")
Cc: stable@dpdk.org

Signed-off-by: Apeksha Gupta <apeksha.gupta@nxp.com>
Signed-off-by: Sachin Saxena <sachin.saxena@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
2022-10-07 17:19:03 +02:00
..
enet_ethdev.c net/enetfec: fix restart 2022-10-07 17:19:02 +02:00
enet_ethdev.h net: add macro for VLAN header length 2021-11-17 20:17:04 +01:00
enet_pmd_logs.h
enet_regs.h fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
enet_rxtx.c net/enetfec: fix buffer leak 2022-10-07 17:19:03 +02:00
enet_uio.c net/enetfec: support UIO 2021-11-15 16:26:17 +01:00
enet_uio.h net/enetfec: support UIO 2021-11-15 16:26:17 +01:00
meson.build net/enetfec: support Rx/Tx 2021-11-15 16:26:17 +01:00
version.map version: 22.11-rc0 2022-07-21 12:13:48 +02:00