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

2025-01-21 Thread Bruce Richardson
On Fri, Jan 17, 2025 at 05:52:05PM +, 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 correc

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

2025-01-17 Thread Vladimir Medvedkin
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/i