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 504F8A0A0C; Fri, 9 Jul 2021 09:29:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ED1BD4014D; Fri, 9 Jul 2021 09:29:52 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id EDB8440143; Fri, 9 Jul 2021 09:29:50 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10039"; a="190039856" X-IronPort-AV: E=Sophos;i="5.84,226,1620716400"; d="scan'208";a="190039856" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2021 00:29:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,226,1620716400"; d="scan'208";a="487956160" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by FMSMGA003.fm.intel.com with ESMTP; 09 Jul 2021 00:29:48 -0700 Received: from shsmsx603.ccr.corp.intel.com (10.109.6.143) 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.10; Fri, 9 Jul 2021 00:29:48 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX603.ccr.corp.intel.com (10.109.6.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Fri, 9 Jul 2021 15:29:46 +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.010; Fri, 9 Jul 2021 15:29:46 +0800 From: "Zhang, Qi Z" To: "Wang, Haiyue" , "Yu, DapengX" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH v2] net/ixgbe: fix using heap pointer after free Thread-Index: AQHXdHvpc5/zJi4fj0i7s+/zZxy516s6P1oA Date: Fri, 9 Jul 2021 07:29:46 +0000 Message-ID: <59645744487643ccaa46a84ea0f73f2e@intel.com> References: <20210709023022.847686-1-dapengx.yu@intel.com> <20210709031459.864943-1-dapengx.yu@intel.com> In-Reply-To: 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 v2] net/ixgbe: 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 Wang, Haiyue > Sent: Friday, July 9, 2021 12:35 PM > To: Yu, DapengX > Cc: dev@dpdk.org; stable@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] net/ixgbe: fix using heap pointer afte= r free >=20 > > -----Original Message----- > > From: Yu, DapengX > > Sent: Friday, July 9, 2021 11:15 > > To: Wang, Haiyue > > Cc: dev@dpdk.org; Yu, DapengX ; stable@dpdk.org > > Subject: [PATCH v2] net/ixgbe: fix using heap pointer after free > > > > From: Dapeng Yu > > > > The original code use a heap pointer after it is freed. > > This patch fix it. > > > > Fixes: a14de8b498d1 ("net/ixgbe: destroy consistent filter") > > Cc: stable@dpdk.org > > > > Signed-off-by: Dapeng Yu > > --- > > V2: > > * Simplify the patch according to maintainer's comment: > > only one "pmd_flow" in the list, so just "break;" is fine. > > --- > > drivers/net/ixgbe/ixgbe_flow.c | 1 + > > 1 file changed, 1 insertion(+) > > >=20 > Good catch, thanks! >=20 > Reviewed-by: Haiyue Wang Applied to dpdk-next-net-intel. Thanks Qi >=20 >=20 > > -- > > 2.27.0