Re: [PATCH v3] net/af_xdp: fix resources leak when xsk configure fails

2024-02-23 Thread Ferruh Yigit
On 2/23/2024 1:45 AM, Yunjian Wang wrote: > In xdp_umem_configure() allocated some resources for the > xsk umem, we should delete them when xsk configure fails, > otherwise it will lead to resources leak. > > Fixes: f1debd77efaf ("net/af_xdp: introduce AF_XDP PMD") > Cc: sta...@dpdk.org > > Signe

[PATCH v3] net/af_xdp: fix resources leak when xsk configure fails

2024-02-22 Thread Yunjian Wang
In xdp_umem_configure() allocated some resources for the xsk umem, we should delete them when xsk configure fails, otherwise it will lead to resources leak. Fixes: f1debd77efaf ("net/af_xdp: introduce AF_XDP PMD") Cc: sta...@dpdk.org Signed-off-by: Yunjian Wang --- v3: remove unnecessary null ch