[PATCH] net/ice: fix memory leak in scalar Rx

Bruce Richardson bruce.richardson at intel.com
Tue Jan 21 16:07:36 CET 2025


On Fri, Jan 17, 2025 at 05:52:05PM +0000, Vladimir Medvedkin wrote:
> If the buffer splitting feature is configured and the payload mbuf
> allocation fails, the previously allocated header mbuf may be returned not
> fully initialized or a memory leak may occur.
> This patch handles this case correctly by freeing the corresponding header
> buffer.
> 
> Fixes: 629dad3ef325 ("net/ice: support buffer split in scalar Rx")
> Cc: yuanx.wang at intel.com
> Cc: stable at dpdk.org
> 
> Signed-off-by: Vladimir Medvedkin <vladimir.medvedkin at intel.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>

Patch applied to dpdk-next-net-intel.
Thanks,
/Bruce


More information about the dev mailing list