[dpdk-dev] [PATCH] net/i40e: fix vf resource leakage problem

Zhang, Qi Z qi.z.zhang at intel.com
Wed Sep 15 10:25:53 CEST 2021



> -----Original Message-----
> From: Zhang, Qi Z
> Sent: Wednesday, September 15, 2021 9:27 AM
> To: 'chenqiming_huawei at 163.com' <chenqiming_huawei at 163.com>;
> dev at dpdk.org
> Cc: Xing, Beilei <beilei.xing at intel.com>; stable at dpdk.org
> Subject: RE: [dpdk-dev] [PATCH] net/i40e: fix vf resource leakage problem
> 
> 
> 
> > -----Original Message-----
> > From: dev <dev-bounces at dpdk.org> On Behalf Of
> > chenqiming_huawei at 163.com
> > Sent: Saturday, August 21, 2021 4:14 PM
> > To: dev at dpdk.org
> > Cc: Xing, Beilei <beilei.xing at intel.com>; Qiming Chen
> > <chenqiming_huawei at 163.com>; stable at dpdk.org
> > Subject: [dpdk-dev] [PATCH] net/i40e: fix vf resource leakage problem
> >
> > From: Qiming Chen <chenqiming_huawei at 163.com>
> >
> > In the i40evf_dev_init function, when the MAC memory alloc fails, the
> > previously initialized vf resource is not released, resulting in leakage.
> > The patch calls the i40evf_uninit_vf function in the abnormal branch
> > to release resources.
> >
> > Fixes: 5c9222058df7 ("i40e: move to drivers/net/")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Qiming Chen <chenqiming_huawei at 163.com>
> 
> Acked-by: Qi Zhang <qi.z.zhang at intel.com>
> 
> Applied to dpdk-next-net-intel.

Sorry, I acked on wrong patch , this patch will not be applied as i40evf will be removed in this release, is should be submitted to LTS directly.

> 
> Thanks
> Qi



More information about the dev mailing list