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 38DC7A0562; Tue, 4 May 2021 03:19:05 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B36384014D; Tue, 4 May 2021 03:19:04 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 6D47E40147 for ; Tue, 4 May 2021 03:19:02 +0200 (CEST) IronPort-SDR: 3q3FraGCk0NbIX17l66g+qGhEZMxKQuZ9csOzg1faQryl0na5TgcFNH34KQHU5IomsAldCiIbB eeAWS945qczw== X-IronPort-AV: E=McAfee;i="6200,9189,9973"; a="194733583" X-IronPort-AV: E=Sophos;i="5.82,271,1613462400"; d="scan'208";a="194733583" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 May 2021 18:19:01 -0700 IronPort-SDR: 9jWcGtlwPigVythZ6tHJ9OnFUWCSTBOsEcGLsxKQfJxAqBthKacYmJoTdf7ZIGNy6MFo3F8HPt dmQYnouLCH/A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,271,1613462400"; d="scan'208";a="462871354" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga002.fm.intel.com with ESMTP; 03 May 2021 18:19:01 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 3 May 2021 18:19:00 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 3 May 2021 18:19:00 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) 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.2106.2 via Frontend Transport; Mon, 3 May 2021 18:19:00 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.100) 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.2106.2; Mon, 3 May 2021 18:18:59 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YHQGaWKuVRZPvCsVEEo0pExChH8Ab23wRzSbEjEgM6KuLRhcl3fQi61TzlScCVAmfnh0U2wT6DpkC6iBDqonFnrWsyNYMttnKhgpzUYHJARjseRHBOSwR/H/mjsNLIeA6GbrMrYfjsJpVaEReoMibSGhzH4s+brbOb3ZOzZnw2hNeRBGwp6f2Pu4javgoZaMgiih31y+xhfuaXz63qn7JSdOjjoAlNm/xXiIUyVCl9Xc2OBDQkxX69wi2+z+LiIkeesdqC/gfC3LrzgapKXnxGHRdI1SlGJRaLq2uoJKU5+lZu3XMZCq6w4cBAymRVB49mb81goXxPPjxqVwG9mo2g== 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=JDxwCRe2+Ea3ewZjK7NfJazRXi7xY4OOxj49jAGuK5s=; b=RSSDqKmwhvJif69l4vjASZhMNKadIhxHf9Fb/KBB5ii4o/ju00/T4YPtK2EG7Lt2Wxnxgvg1HH7nMTsgoVUIkcyvHivKNsg32n4COQGbpoJPrko6HgnqrQlCL+eq3kKdW2kste1OYech6tPmGvNPfZLyoa+5Tbelpcm0PSMkO0MbC4L786JJF4VaL7lRPAf/M3ldz/aIyuU/K2xUd717iLB90qZ5jFs65KMfneM7Oqyx1hVmmbshHrNmsfIjd8r29z/4q7CqAis5xMnGf7c4y334R3/+0yi42ni+Oe9i+tebRXRVdO6KEnrI9202mq9YcWA6vJB+9DCeF6rTb5PA2Q== 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=JDxwCRe2+Ea3ewZjK7NfJazRXi7xY4OOxj49jAGuK5s=; b=irGS3LowTV9ECGA39oqABTCUYaMCmOeD/yTpuhdkQtc4g2230Xdaz32j6WZCog7kyJdkVXpRZNtFYDhJV/9TgaXn3yUxzdHEDd4x6MtB27E4GOTHzqVxAkwq0DJie+Vdxl8Wwb6yK6HZHpt8NxXGmPTmxrQkdcY2cZMSpl4JSGs= Received: from SA2PR11MB5196.namprd11.prod.outlook.com (2603:10b6:806:119::18) by SA2PR11MB5196.namprd11.prod.outlook.com (2603:10b6:806:119::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.41; Tue, 4 May 2021 01:18:54 +0000 Received: from SA2PR11MB5196.namprd11.prod.outlook.com ([fe80::f4f9:fb0b:f121:7d7c]) by SA2PR11MB5196.namprd11.prod.outlook.com ([fe80::f4f9:fb0b:f121:7d7c%5]) with mapi id 15.20.4087.044; Tue, 4 May 2021 01:18:54 +0000 From: "Carrillo, Erik G" To: "Min Hu (Connor)" , "dev@dpdk.org" CC: "Yigit, Ferruh" , "rsanford@akamai.com" Thread-Topic: [PATCH v2] test/timer: fix memzone reserve failure check Thread-Index: AQHXQIHuxV+nXjsqMUuZKyGkWdWcUarShZJA Date: Tue, 4 May 2021 01:18:54 +0000 Message-ID: References: <1619083120-57343-1-git-send-email-humin29@huawei.com> <1620090469-30484-1-git-send-email-humin29@huawei.com> In-Reply-To: <1620090469-30484-1-git-send-email-humin29@huawei.com> Accept-Language: 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.5.1.3 authentication-results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [136.49.192.164] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a18c6718-6fef-48b6-3650-08d90e9a9578 x-ms-traffictypediagnostic: SA2PR11MB5196: 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:5516; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: s38EjC1WVKtDtpSUHbM1/tZYZdixqASv4OYodQ2wjLPPfmDkcJzTwmkbcuQVnG0LGoUu91tPWPqKeMYBc0mCg82LCvmKIlh4S76LzK6UsDW/EAm1vNRKYPq1W57+xXHVd3wzYOkCPfkrUJR63sOqTBhp+vQRhcrhPJQezSieltFnEomeX2JbIkGTAxqA2/n5p1gURsZdDwYtaSwt8J8j6d4D+VlbBWSWk0q6PZkeQ6k7agQieOorRs3+igSjrGg8sQljAXF8YyNJWfGCG6fpSiWYvL9jgrE1b0IAhKbHBkwZLATrCmecLkNCUSjk1VKAKUfE8WdDiWWo/g5oQs9f4WNz5B3PuvwZaW2BiDn5BgotSQhcTrGBfIoY/cZqQSLMPN54+SrMo/LxzoMcKD+ls/8N2UmCMGzeeHFUCgMeZhO0tT9eE00Beva81t1oXcqnBkmaMiGNUgO+Ax0AaTYxNMwEnnPwK9T4V4pJyrCCg0USFx8GKHNaYBEi+Rv5YHh9by5D9yoz98s340Vl1IoUNCqc6NI7MeY9r7MnhG8hUo/vgioJCwDbI9MEc0dnOvjHxthWffpTRtxr2d1dMdnvuR5kfLii/kPbJKMM815EMC4= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA2PR11MB5196.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(396003)(39860400002)(376002)(346002)(136003)(7696005)(86362001)(76116006)(122000001)(66476007)(9686003)(4744005)(33656002)(53546011)(66556008)(6506007)(8676002)(66946007)(8936002)(55016002)(54906003)(38100700002)(83380400001)(64756008)(66446008)(26005)(110136005)(478600001)(71200400001)(4326008)(5660300002)(2906002)(52536014)(186003)(316002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?iso-8859-1?Q?ASYyAtHTOx/pZf6Q6/xCXVWV0rLAxhS4t+X6l4stSDlvCbsRUMPcP0RbgK?= =?iso-8859-1?Q?JUCxqNcrMY317nQJnhd8qpd1kc4KZGiIehH8ylBElpPk4u9Tv3d+R9FsC1?= =?iso-8859-1?Q?CPREjXaChuu93c9RTmU0NnyAQYsxwT4rmCwwQs+r6lxX+ML1BwRWQ6oNgH?= =?iso-8859-1?Q?mwrHZizm0A8zUGX4ZGi8bU66F5Q1XdN7jUi4axqNtpDfGzuY/iLsMMAi7Z?= =?iso-8859-1?Q?q4H7l6lc4wYJu5iQqwxZcwirhzTC6CuacdMNjRz34VM1FeByFhXnlqrHr2?= =?iso-8859-1?Q?JomCmdMSrHRMyenyPFUUulyk+q5cS3PoIksRVukaWggdsM5zmy1WpBjNiO?= =?iso-8859-1?Q?58wXxBbD5C9RXhRLnmkwXqbURVBmv3etogSaJYKQtmRm2wYz+LCYQ1dcTG?= =?iso-8859-1?Q?rxz/PzQkrIkCfBesCURJjUJGf6DsfxoIctHdVX491/yLxIEzzfqUhfLcqj?= =?iso-8859-1?Q?2Sy8CLWJ/A48qW1d/Yxds3n7mR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jHNGBxFqL9?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA2PR11MB5196.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a18c6718-6fef-48b6-3650-08d90e9a9578 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 May 2021 01:18:54.4414 (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: F6jinGBe7tXEOwQg1ArlTyNacO+5o+r50VDS2BfawU2Zul3gonbYPlygwEcCZ0Fjuloy7PqktlcWaM4QnV4WOShSjTPjOSD/1GMlCRMcR74= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB5196 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2] test/timer: fix memzone reserve failure check 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: Min Hu (Connor) > Sent: Monday, May 3, 2021 8:08 PM > To: dev@dpdk.org > Cc: Yigit, Ferruh ; Carrillo, Erik G > ; rsanford@akamai.com > Subject: [PATCH v2] test/timer: fix memzone reserve failure check >=20 > Segmentation fault may occur without checking if memzone reserves > succeed or not. >=20 > This patch fixed it. >=20 > Fixes: 50247fe03fe0 ("test/timer: exercise new APIs in secondary process"= ) > Cc: stable@dpdk.org >=20 > Signed-off-by: Min Hu (Connor) > --- > v2: > * use TEST_ASSERT_NOT_NULL check "mz" instead of checking > the test_info pointer. > --- Thanks, Acked-by:=A0Erik Gabriel Carrillo