[PATCH v2] common/idpf: fix memory leak on AVX512 TX queue close

Zhang, Qi Z qi.z.zhang at intel.com
Wed Jun 14 07:54:48 CEST 2023



> -----Original Message-----
> From: Wu, Wenjun1 <wenjun1.wu at intel.com>
> Sent: Friday, June 9, 2023 6:54 PM
> To: dev at dpdk.org; Wu, Jingjing <jingjing.wu at intel.com>; Xing, Beilei
> <beilei.xing at intel.com>; Zhang, Qi Z <qi.z.zhang at intel.com>
> Cc: Wu, Wenjun1 <wenjun1.wu at intel.com>; stable at dpdk.org
> Subject: [PATCH v2] common/idpf: fix memory leak on AVX512 TX queue
> close
> 
> When releasing mbufs for TX queue software ring of AVX512, the mbuf in the
> range [i, tx_tail] should also be freed.
> The variable i refers to the index of the last mbuf released in the software
> ring.
> 
> Fixes: 5bf87b45b2c8 ("net/idpf: add AVX512 data path for single queue
> model")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Wenjun Wu <wenjun1.wu at intel.com>

Acked-by: Qi Zhang <qi.z.zhang at intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi



More information about the stable mailing list