[dpdk-stable] [dpdk-dev] [PATCH] net/i40e: fix vf resource leakage problem
Zhang, Qi Z
qi.z.zhang at intel.com
Wed Sep 15 03:27:01 CEST 2021
> -----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.
Thanks
Qi
More information about the stable
mailing list