From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 02C6BA0C41; Wed, 15 Sep 2021 10:26:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 76CB54003F; Wed, 15 Sep 2021 10:26:08 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 859B54003C; Wed, 15 Sep 2021 10:26:05 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10107"; a="202424059" X-IronPort-AV: E=Sophos;i="5.85,294,1624345200"; d="scan'208";a="202424059" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2021 01:26:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,294,1624345200"; d="scan'208";a="508669772" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga008.fm.intel.com with ESMTP; 15 Sep 2021 01:26:03 -0700 Received: from shsmsx605.ccr.corp.intel.com (10.109.6.215) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 15 Sep 2021 01:26:01 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX605.ccr.corp.intel.com (10.109.6.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 15 Sep 2021 16:25:53 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.2242.012; Wed, 15 Sep 2021 16:25:53 +0800 From: "Zhang, Qi Z" To: "chenqiming_huawei@163.com" , "dev@dpdk.org" CC: "Xing, Beilei" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] net/i40e: fix vf resource leakage problem Thread-Index: AQHXlmTJpUQM4Sdmo0iK3oyjdVfwtaukdJ3ggAB0rnA= Date: Wed, 15 Sep 2021 08:25:53 +0000 Message-ID: <067d5bebc6374c5aafeccdadd8a9372a@intel.com> References: <20210821081426.5700-1-chenqiming_huawei@163.com> <3785c8b4d8614a218404f7433b3ce208@intel.com> In-Reply-To: <3785c8b4d8614a218404f7433b3ce208@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.200.16 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/i40e: fix vf resource leakage problem X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Zhang, Qi Z > Sent: Wednesday, September 15, 2021 9:27 AM > To: 'chenqiming_huawei@163.com' ; > dev@dpdk.org > Cc: Xing, Beilei ; stable@dpdk.org > Subject: RE: [dpdk-dev] [PATCH] net/i40e: fix vf resource leakage problem >=20 >=20 >=20 > > -----Original Message----- > > From: dev On Behalf Of > > chenqiming_huawei@163.com > > Sent: Saturday, August 21, 2021 4:14 PM > > To: dev@dpdk.org > > Cc: Xing, Beilei ; Qiming Chen > > ; stable@dpdk.org > > Subject: [dpdk-dev] [PATCH] net/i40e: fix vf resource leakage problem > > > > From: Qiming Chen > > > > In the i40evf_dev_init function, when the MAC memory alloc fails, the > > previously initialized vf resource is not released, resulting in leakag= e. > > The patch calls the i40evf_uninit_vf function in the abnormal branch > > to release resources. > > > > Fixes: 5c9222058df7 ("i40e: move to drivers/net/") > > Cc: stable@dpdk.org > > > > Signed-off-by: Qiming Chen >=20 > Acked-by: Qi Zhang >=20 > Applied to dpdk-next-net-intel. Sorry, I acked on wrong patch , this patch will not be applied as i40evf wi= ll be removed in this release, is should be submitted to LTS directly. >=20 > Thanks > Qi