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 EBBC9A034F; Mon, 7 Jun 2021 02:46:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6FCEB40041; Mon, 7 Jun 2021 02:46:23 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 757244003E; Mon, 7 Jun 2021 02:46:21 +0200 (CEST) IronPort-SDR: Tw/Kow/Ot0A91mWa12jlqcNxe7ROHpdfHyg++EtyxHMWe3SdeBax6+mKIFklKaemREQidPFtQj fSNMGRVugU6g== X-IronPort-AV: E=McAfee;i="6200,9189,10007"; a="225875961" X-IronPort-AV: E=Sophos;i="5.83,254,1616482800"; d="scan'208";a="225875961" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2021 17:46:17 -0700 IronPort-SDR: 4VRnJyJTkhE0RfrgHO8Dz/tHPpAXnQyM8nwHxPO+IJw9hzEEeO4A2uolNsRMAItmNFOFxUCE95 FKp21qdN/Ang== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,254,1616482800"; d="scan'208";a="418335526" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga002.jf.intel.com with ESMTP; 06 Jun 2021 17:46:17 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Sun, 6 Jun 2021 17:46:16 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX601.ccr.corp.intel.com (10.109.6.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Mon, 7 Jun 2021 08:46:14 +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.008; Mon, 7 Jun 2021 08:46:14 +0800 From: "Zhang, Qi Z" To: "Yu, DapengX" , "Xing, Beilei" CC: "dev@dpdk.org" , "Yu, DapengX" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] net/i40e: fix using heap pointer after free Thread-Index: AQHXWOZ1B18yEzNDkU+2rCsmoN3MkKsHuwjA Date: Mon, 7 Jun 2021 00:46:14 +0000 Message-ID: References: <20210604020201.2021442-1-dapengx.yu@intel.com> In-Reply-To: <20210604020201.2021442-1-dapengx.yu@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.5.1.3 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 using heap pointer after free 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: dev On Behalf Of dapengx.yu@intel.com > Sent: Friday, June 4, 2021 10:02 AM > To: Xing, Beilei > Cc: dev@dpdk.org; Yu, DapengX ; stable@dpdk.org > Subject: [dpdk-dev] [PATCH] net/i40e: fix using heap pointer after free >=20 > From: Dapeng Yu >=20 > The original code use a heap pointer after it is freed. >=20 > Fixes: 460d1679586e ("drivers/net: delete HW rings while freeing queues") > Cc: stable@dpdk.org >=20 > Signed-off-by: Dapeng Yu Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi