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 54FAEA0A0C; Fri, 9 Jul 2021 06:35:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D06424014D; Fri, 9 Jul 2021 06:35:34 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 576D440143; Fri, 9 Jul 2021 06:35:33 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10039"; a="273481059" X-IronPort-AV: E=Sophos;i="5.84,225,1620716400"; d="scan'208";a="273481059" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jul 2021 21:35:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,225,1620716400"; d="scan'208";a="560842308" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by orsmga004.jf.intel.com with ESMTP; 08 Jul 2021 21:35:31 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Thu, 8 Jul 2021 21:35:31 -0700 Received: from orsmsx605.amr.corp.intel.com (10.22.229.18) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Thu, 8 Jul 2021 21:35:31 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4 via Frontend Transport; Thu, 8 Jul 2021 21:35:31 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.171) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.4; Thu, 8 Jul 2021 21:35:31 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G2v+RuJxLyn+BzxytbmhAs21qsGEab48EedZTNH5wVGoTKs+nlwLlOVSXqGZSUTtstmwZYx9Hsbq4C38dH4NW/Y0WkALTSba+Xn7TdSNYcPlkKU+wLoqt3PReTvx9A3PYWXqyYGEaQanVto+uWO8ZlGYb7fHcw2oUZ78AV4kWfn7lrz5pVlFZjKx5OxdVIF46zhutoK3002ujMJN+6emqprjVzF8wXmypyXdFfZT01t9mhYkxXiDnzymIkSlKvIXsdlsqQbf3+EN+uWKXJnInf5UkTMvAXy7XX/74OgF6ea1AazzeEcwNmdcqYakbTlX6W4ZwxUZQmhS/7G5I2Q2PQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eAlimAfh1bOWXt7KiwW0mUspaxme0dfevaDXOOo4wyI=; b=oAiOJHiTB8hbYS4t/kvaqy2rcKUCiIWss9cZb+8CHTXIRHR6RW8I+bz+RZ/sz8IXAPQU7VNliQDyouyGaZToiTIQ/ok9gX0XpLgI0YTisUofrshp9+S+nepDUl5jR3Kc1TCq+4myDdUpRxBB9zeytAgpyfiy015MlgtrAryqco+iRmKMOOgTMzRxlhl2M1ZQLWa25rtG+uHBUdHTsFAlzdQ614YpN6d4YRWXoW+3mrB40r5PC+BEAgNuj/TNDtJEpPTXe7RelQRAN4N8bFY79fN0BZu+zTv7WF5bbFBU02m24s641wJmnzLN3k1+75w5xKbnpVfTyeMZRApIfDDcRw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eAlimAfh1bOWXt7KiwW0mUspaxme0dfevaDXOOo4wyI=; b=Zxct37V/hKOKN7hw7sSXUSkV7x2wcW6ICi3n8XjaeAUCoTTJAyd1bkpXQVQRwu+1JeAjCIfPZ6QZCI5R6NPnRwarfhu/Mtqg6Dej9jJjlrLvDIOZX8GgUjWkK++bJRVWJtM7igDxhkOMs7EOaMy/j8/0OZbPojHfs6n3q20qLJk= Received: from BN8PR11MB3795.namprd11.prod.outlook.com (2603:10b6:408:82::31) by BN6PR11MB0033.namprd11.prod.outlook.com (2603:10b6:405:63::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.21; Fri, 9 Jul 2021 04:35:29 +0000 Received: from BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::8807:6661:e425:102]) by BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::8807:6661:e425:102%7]) with mapi id 15.20.4308.023; Fri, 9 Jul 2021 04:35:29 +0000 From: "Wang, Haiyue" To: "Yu, DapengX" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH v2] net/ixgbe: fix using heap pointer after free Thread-Index: AQHXdHDLuUgG/nio6ESZKS+nnSZmcas6Dpqg Date: Fri, 9 Jul 2021 04:35:29 +0000 Message-ID: References: <20210709023022.847686-1-dapengx.yu@intel.com> <20210709031459.864943-1-dapengx.yu@intel.com> In-Reply-To: <20210709031459.864943-1-dapengx.yu@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.0.76 authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1e31ef8e-4f08-49b4-89a2-08d94292fb13 x-ms-traffictypediagnostic: BN6PR11MB0033: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: X2A7s7QYe9P7tF+efgYf40p9gZjCDTE1SvbAu3ePO0Lf3O3AHysbwMWQDU1Xkxld2E7wGfcL55SyH08X8LeLA78wYEaS1ykSgONWMxkO+fYj9yTv3qmKjyPDZuFKDCrrZqUvg3Rs1mPLWPrU/6xGKsDvJozOdoY3r4pg5apVY2qeH5ik38ACT+Pz/VCR5Ys/l2uXh87AgKTTCvZ+vMF9Zi/8ovgEIz4GBfKLxFPSOO2kwQ2D11dDSA3IekxqZQpk20NefiaNmg9zGGlUsOW8nr/HHXidwXui66sPIzmEJ6FGu4VpoOicEIWXdqnyze9dkbmFDDVEEunqe02IZXQOxHSc3O3qbLK14HW1wjCcwMCInEQawjwzIjN4zPdnOJhy2C5AS2mtBUvWcMKa01pmDYaWJZuXSATyY/q9r3mpSpd3lo/txuQA6mCmOYRG8MEvOsVWnKxgQddN1ejAbQ4nickWWAp+sxmWnDMohtZwzGx7g0wCQhqDalZIy1RVCrqc2mJ9a9LLZc7kGTvdHhWxqZOVcVFBGHIxXJ8WYjslQCYzkrWDGqMs9tBJ5fokH0av4fgKXj91kUAPmQUBOmUSuGzkfxHJ9TjpsTj8ZNfBQ6qHwMz0xrEFucSMqhtF3iey1VB/EUz6upTlJtRLoFjX/w== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR11MB3795.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(346002)(39860400002)(376002)(396003)(366004)(136003)(53546011)(4744005)(6862004)(71200400001)(38100700002)(450100002)(186003)(6506007)(2906002)(122000001)(4326008)(8676002)(86362001)(54906003)(66476007)(66556008)(64756008)(76116006)(66946007)(66446008)(478600001)(7696005)(83380400001)(316002)(8936002)(26005)(52536014)(5660300002)(33656002)(9686003)(6636002)(55016002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?nQEzGRJPJ7IqsdR3DS0deCxRXUxauWnuJpYErCbhbiJcRhheMLmjQOyTNcFU?= =?us-ascii?Q?k2qQyh7juHQxhkcgrhN9PjPstRP+V4dtcep9ydOQUg6FqK5B6Kv9n22fry5x?= =?us-ascii?Q?1Q8ls9QHFC8JccH73GO1C2QEyT4pJye30UXOfLQyrwSqZCXDDXLXRmTqd2lh?= =?us-ascii?Q?KhukW5TxtZDczUOkRYj+AluwijArVG+uI02fVFGghT7qUs+mB8uTAGub2hoc?= =?us-ascii?Q?lVmUi00LNzWWoG6AHi5lITJ2UFKUurq2CoDyVEsdd2DicanZJNbNwdrNYCq8?= =?us-ascii?Q?d7koAotDpf2jEjhMSa+bzK2yi2HTNAn5iBFkxf9HgBBUNN+CWPj+U3Xr0+qb?= =?us-ascii?Q?XB2rmmvYwuhzoUyO53Y/2BYUmEDG5cUngdSpINxuSlAMGw+C35eJf2gEEghW?= =?us-ascii?Q?gBg9FuVsp7an3vZR8XEJ3QRGvKo/4jOjLhozalfWIr4dfgH4tpJGShNgJIiP?= =?us-ascii?Q?fmqjQiajcXdqa+KILa59rI1bucK5Hp0bzHC30FZcXSq9CQZYktQE4CLWIRFK?= =?us-ascii?Q?1vIFsDp8psSdoY6qiYOo6Z4ujCOadVTMEsQxY8cyFiLYOfM7kVU4KLiOEsIX?= =?us-ascii?Q?u9AYLFiVJKxzqhVM3HMCFcCnCTfH1KT9ZzGK3ry5yay/G4z8ZRz8WnQ0RZA0?= =?us-ascii?Q?ZDhZlt0PgK8OkyYf2LNwb9/SFncZvIkBayM24Md5cLUgQeoxw20rfvI4A6fs?= =?us-ascii?Q?AqkeAGlhS5VUcbWXNtmzpQx206jBLP5uOXpRuRXkA9fFs1ETD45c23uKBmvj?= =?us-ascii?Q?V4Ng12tlcIDdkQvuQz1sogolW4r5t1ilXWHQJJ5Vpe4pZdT3eGkVe1x8EeK5?= =?us-ascii?Q?8z10TCNQ4UGu5hSOqgT37VTDjsd958TMtzOIzzE1Em2BrTEwJPKWtnNKZveV?= =?us-ascii?Q?lcNOy4TaWRi5mHQIIvv1gHC2pFtDfnc2Q+6OTZX5xsEgokWVH+5uxbRAGgZA?= =?us-ascii?Q?tewXbgotz+SdFRkUXJY1zE5O5pS9Nq80CTKyQEAzLEOPiQBWHz03c5W8Wtej?= =?us-ascii?Q?mMlciqI3s3uBNuiYgR3dqyuvm0FU28VgU/nvN9U2uwM359R8xd+fXcXJ30V3?= =?us-ascii?Q?A3MhcabzdYviCpe1QY8sjEOuaCmog39pVln3MtUlCTbK3K/iS3wJrNtcuqX4?= =?us-ascii?Q?oSMhTDQvGHw4TOAvZkNYzfCh7jM4RqJB/F52VPBICpARL4QRXdyRt1I+FRXI?= =?us-ascii?Q?UJAKNisiXoRgN/uADfauvZTOrihAkqkcb9xyQ0zLamTffVjkaGi1IyeFKEJw?= =?us-ascii?Q?ljbzvYL/ZNSrFsC40vELe0rM0oxQFBoeuhcmTxLmy84KZ+0NMMZ/p2/n5Mja?= =?us-ascii?Q?L9s=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN8PR11MB3795.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1e31ef8e-4f08-49b4-89a2-08d94292fb13 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jul 2021 04:35:29.3016 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 16TNZjqmPiZHnFl8Dfrn73pKmhQddZ/g+5PH50LIbe2GhTj59eJu0duJQ9Azso0mbggzNUbg6h+mUatgJx4DuA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB0033 X-OriginatorOrg: intel.com 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: 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 >=20 > From: Dapeng Yu >=20 > The original code use a heap pointer after it is freed. > This patch fix it. >=20 > Fixes: a14de8b498d1 ("net/ixgbe: destroy consistent filter") > Cc: stable@dpdk.org >=20 > 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! Reviewed-by: Haiyue Wang > -- > 2.27.0