From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B463BA04AC; Tue, 1 Sep 2020 11:47:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 09022E07; Tue, 1 Sep 2020 11:47:43 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id C090FDE0; Tue, 1 Sep 2020 11:47:40 +0200 (CEST) IronPort-SDR: mWf60C+LBpK7chh4IKSi4zVwdb8CwnS1lbb04nEXz8jk9Je2N+oSgcoX2MaYg2HmQahI9SDJ0b UPl7t+wdom2Q== X-IronPort-AV: E=McAfee;i="6000,8403,9730"; a="144826344" X-IronPort-AV: E=Sophos;i="5.76,378,1592895600"; d="scan'208";a="144826344" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Sep 2020 02:47:39 -0700 IronPort-SDR: DZpf1w/DgxlZ5oq+IWDMK3qyHoiTRxQaQw65JDEbkR8dkKOCKvE7veUwfhzAOibvpIUxQWxXuu JUEyMpeKyFiA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,378,1592895600"; d="scan'208";a="301387588" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga006.jf.intel.com with ESMTP; 01 Sep 2020 02:47:39 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 1 Sep 2020 02:47:03 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 1 Sep 2020 02:47:03 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.171) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Tue, 1 Sep 2020 02:47:01 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ao6DAeJwp2O5wg2U1kbbFYBKHF0Arw3gF/fio1fVXxBp7asv/OI9zAL/NRxWumoQkI3+/BQw2xLwnq3HZxzz5+EXBYuAs16Xj8CK4jq9w7eMDl8rtpBUX0QYus0G8Dk6KE/3cETPWxhGTr7uWaiGxw+KZaYYdHL4941Jdc8A49+IQDaDmpN2jmyQgKx7zhDxnJ/dmlydnWnPOYMiVUm0aLHwCVQvwZU/XOfBLPJYqgvlzp02k1hvw2l/enqNDwRmSnfzG0O0BJQBwuCj7LWj8/F1k1Uh6+pgxgc7sm/Bei5Oj23QHvD3AilplZJkbwV2CeGqxHwSjLw2zYMt42WnjA== 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=4ubV/B0pXJwhY4wTJR8EcD1l36JbFD7YuvOxOjmbxGI=; b=djK1PMfaxSWzUsegrl/2oDVIl9H3iQ4vvC76OSfjw3VESAUXkz1Im1XMySHhcl7MseFWd2RhjOlZ6qUcAONMXEgBeKEHk3RuKqgob4hGohDrWy9WMzveWp51zdQBwUZwHWLsX8M95WlKk/fB3A/YkvhffV+XzCmPho8Je3bLck9nstpDCVoke46XwTRyIgnAMkpSYRI/Vu6h2oMMvWr3Gjyhre/ImsbUJocJ937UD0CdZSlrpfZQx+Ch+8FOxTuWYM3VQv7xbC5Y3d7vh/atwrTT4J+oKFYrOSf6sS4inqM/wf02BoVaGfYV3YdTnICHX7F6cezE+zRD8I0LE8xpew== 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=4ubV/B0pXJwhY4wTJR8EcD1l36JbFD7YuvOxOjmbxGI=; b=bJPIPJMT9mvQUsf6daxKPa7i+G24WEaAft0QiV48wQlO9hvMGIAkthqN9YWP+isGK/bkG6nhhFMvEJvGz/vrwT4vSN07gH6hBqQiGM0mkKmloEggYEzd5M9LJDF7kKPOk/Wejl0dqVccOLn801S0G6VuLut7U3NorDDp2cKYjak= Received: from BY5PR11MB3910.namprd11.prod.outlook.com (2603:10b6:a03:185::13) by BY5PR11MB4435.namprd11.prod.outlook.com (2603:10b6:a03:1ce::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.19; Tue, 1 Sep 2020 09:46:50 +0000 Received: from BY5PR11MB3910.namprd11.prod.outlook.com ([fe80::5863:43f6:ee65:e7c7]) by BY5PR11MB3910.namprd11.prod.outlook.com ([fe80::5863:43f6:ee65:e7c7%2]) with mapi id 15.20.3326.025; Tue, 1 Sep 2020 09:46:50 +0000 From: "Dybkowski, AdamX" To: Ruifeng Wang , "Doherty, Declan" , "Trahe, Fiona" , "Griffin, John" , Des O Dea , "Sergio Gonzalez Monroy" CC: "dev@dpdk.org" , "akhil.goyal@nxp.com" , "honnappa.nagarahalli@arm.com" , "nd@arm.com" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 1/3] test/crypto: fix stat test Thread-Index: AQHWf3QeHeFNOtbBB0qRaFbpucVCGalTipRQ Date: Tue, 1 Sep 2020 09:46:50 +0000 Message-ID: References: <20200831085145.184179-1-ruifeng.wang@arm.com> <20200831085145.184179-2-ruifeng.wang@arm.com> In-Reply-To: <20200831085145.184179-2-ruifeng.wang@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [83.24.24.72] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 960be28d-ea45-40dc-6495-08d84e5bf348 x-ms-traffictypediagnostic: BY5PR11MB4435: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3044; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: TkYKy8Jp5XeRv7vqQqWdah9Ydvc46oZYZ1v2aHl0DqpWuUSEFZ3/X+/MzpcMcd+ckgbvkpGfWeyR5/DOr1gwIvnHUyoj4+fMLMBakMf9DVSjrt/CtH1guG19WXXHUXdKTFX0Ri2yY5ZBl7vFxssZE3UhBvB11qWYG3WSxcPOIyV+n3dsMEI3USNxJf97a8XUNfoTbiDCGHmShzs1pteDXfEUPHqbibkk3ZvwIvyRwvSSmXJMqMoJXZ/EmsMlZPv0hVw1xziCtrnVgvRMhdYDC0JsCSv6WLNTZUWi+W56P74/m+gXkyf5Ys09J1vRMqqhgqDYhAm0UBM3H1RKU+6dLg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR11MB3910.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(136003)(366004)(376002)(396003)(346002)(83380400001)(66446008)(33656002)(76116006)(6506007)(4744005)(186003)(66946007)(53546011)(86362001)(5660300002)(9686003)(8936002)(8676002)(6636002)(7696005)(26005)(64756008)(4326008)(66556008)(66476007)(54906003)(478600001)(110136005)(2906002)(52536014)(316002)(55016002)(71200400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: sxMdy4cdWIzyUbtb/Umi1qGwtHrpJoBch2OB+WQiyb34KkGxSSeHGoJuXtYQn/SjoxDIeg5jctjB/zBfh0zk1Jxp8+dQTsNNA6NTKppT91XP3KbNaU9PfzqAygBtbMcN/PeQG5A7P6DiOIQM2J9kdk5cKugHMXb3p9RvCcp+Hj1MgJ9Oj066Rftxbhvs+grzHXOWwyplba1+BGqxHy7FkdlAXY68BJKDnEILwbXRSUJtNQATQB3PHXB5REGSrdNnI4vOqL/0QpHAwiNaHsNIXTUycOBAVHmkJC3GoPNCh1FMfK+MwfyeC1N4vEH2/xBP8Yco4igKGZBBNPgRpCkxS6QIy97W3Hc4UplRTmHRB4qbL4u62d2ysQq+C7Xk2/mcDUqYu2gKGIl3qaa+WcOZc86+owy/THxMXrMze3rfcV7af30rU6RRPpFjSub32WydIWDSMp5H3x8YJkBpSgHMDEYR1Y/He2UEDTUy9mPlbIjc5b0GqwjJfiUwVeCMDi/lyUaHAR4DPiUxo9wPesVLTruOtZPm3HQxPMYCAbmDJi6yfKhjM+FjnHz8iP3+EbPl9PBwCM6r5FsTYtV6hD8VNEvZAXyWeUrDQHNZtaFPScQGeSFNWLq0iHjYDCOxP8qZ5Lx3YMq/cuEY6EP0kHdoOg== 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: BY5PR11MB3910.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 960be28d-ea45-40dc-6495-08d84e5bf348 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Sep 2020 09:46:50.2244 (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: +uLy8P6UM7tkIK6+5ML7fwnN1QFei3bThYj+qggEFxJuQwNtPm0RkIzjm7oVIy4mz0dJ4j4CoR7cMfED8dxnIYOzAVKvhWVfRapNPSIpZuQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4435 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 1/3] test/crypto: fix stat test X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 Ruifeng Wang > Sent: Monday, 31 August, 2020 10:52 > To: Doherty, Declan ; Trahe, Fiona > ; Griffin, John ; Des O De= a > ; Sergio Gonzalez Monroy > > Cc: dev@dpdk.org; akhil.goyal@nxp.com; honnappa.nagarahalli@arm.com; > nd@arm.com; Ruifeng Wang ; stable@dpdk.org > Subject: [dpdk-dev] [PATCH 1/3] test/crypto: fix stat test >=20 > ut_setup / ut_teardown are invoked for each test case by test framework. > The call inside test_stats is unnecessary and even incorrect. > This caused double free of objects such as crypto operation structure. > Trapped the issue when RTE_LIBRTE_MEMPOOL_DEBUG was enabled. > Fix issue by removing ut_setup / ut_teardown from test case > implementation. >=20 > Fixes: 202d375c60bc ("app/test: add cryptodev unit and performance tests"= ) > Cc: declan.doherty@intel.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Ruifeng Wang Tested-by: Adam Dybkowski