[dpdk-dev] [PATCH] ethdev: fix rxq_state leak in error path
Ferruh Yigit
ferruh.yigit at intel.com
Tue Jan 25 10:59:43 CET 2022
On 1/8/2022 7:51 AM, Yunjian Wang wrote:
> In eth_dev_handle_port_info() allocated memory for rxq_state,
> we should free it when error happens, otherwise it will lead
> to memory leak.
>
> Fixes: 58b43c1ddfd1 ("ethdev: add telemetry endpoint for device info")
> Cc: stable at dpdk.org
>
> Signed-off-by: Yunjian Wang <wangyunjian at huawei.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
Applied to dpdk-next-net/main, thanks.
More information about the stable
mailing list