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

RE: [PATCH] net/ice: fix memory leak

2024-01-08 Thread Zhang, Qi Z
> -Original Message- > From: Wu, Wenjun1 > Sent: Monday, January 8, 2024 3:27 PM > To: Zhang, Qi Z ; Yang, Qiming > > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: RE: [PATCH] net/ice: fix memory leak > > > > > -Original Message- >

RE: [PATCH] net/ice: fix memory leak

2024-01-07 Thread Wu, Wenjun1
> -Original Message- > From: Zhang, Qi Z > Sent: Monday, January 8, 2024 4:49 AM > To: Yang, Qiming ; Wu, Wenjun1 > > Cc: dev@dpdk.org; Zhang, Qi Z ; sta...@dpdk.org > Subject: [PATCH] net/ice: fix memory leak > > Free memory for AQ buffer at icd_move_re

[PATCH] net/ice: fix memory leak

2024-01-07 Thread Qi Zhang
Free memory for AQ buffer at icd_move_recfg_lan_txq Free memory for profile list at ice_tm_conf_uninit Fixes: 8c481c3bb65b ("net/ice: support queue and queue group bandwidth limit") Cc: sta...@dpdk.org Signed-off-by: Qi Zhang --- drivers/net/ice/ice_tm.c | 12 1 file changed, 12 in