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 6299FA09E4; Thu, 22 Apr 2021 11:51:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D17A74068E; Thu, 22 Apr 2021 11:51:27 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 345D04003D for ; Thu, 22 Apr 2021 11:51:25 +0200 (CEST) IronPort-SDR: yA4sIY/wJEYuOB70AkX8bUddEZND4qA5sjQGrDbb1hns9640TiGN+RvHITeCCXsZ+PiJK/ne54 vCCkhhCWxWVA== X-IronPort-AV: E=McAfee;i="6200,9189,9961"; a="192670885" X-IronPort-AV: E=Sophos;i="5.82,242,1613462400"; d="scan'208";a="192670885" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2021 02:51:24 -0700 IronPort-SDR: ggyQHMTvEDigzQ7BNJ0a5ZtxmVdiWKA7XP16yd/VT2r3u7UdbOhLhMcsEV3kDJjtOrEAU3YeUV RDKIEBLJTxyw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,242,1613462400"; d="scan'208";a="603168762" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga005.jf.intel.com with ESMTP; 22 Apr 2021 02:51:23 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 22 Apr 2021 02:51:23 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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.2106.2 via Frontend Transport; Thu, 22 Apr 2021 02:51:23 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.172) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2106.2; Thu, 22 Apr 2021 02:51:23 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PHPyfcVClGhQI8oX4FYBeLx/QSwZRWsorpnReH6VMXdTALv+xY2Yc7131+zTegigpJrdoJYhLwaa9UT126vG6quqrnStccuZBzggQHoi+6Kesj8lBYriTZNauYih2jzkTFhPhA7vldzuz7lGBuZGg/plPmLwozdRB1EQJSPxB3NShRf2zO3KWeAPEnYPVAGw46Bfl/wYarCFbhccehTtEYd4hK5JhXL1u0gCFJgR+18ekKvlNW1OO7gj25eh4lyaXhQ41fJYaEz0WoWgxh8f5G+1F6PszyfojB5AmNo3Ljf3wcHF3RENpI8atdWfXhE60ZUZhIV0jOJixwcvTj9AIA== 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=hgw8BQRXpt3Atz6W98DdtHu/6iivBWa3LQftv10Dif4=; b=oSgmHJu8NSk/ywXXTr9ok8Sp3DJuCWNU7HE2bKgxk4OcYmnC1is9jsO+//dLoZck/+YNXz2KIrqr6/D2J3GAG17C0bGGoSmSUiQ91FDl/aikoSreuwtV6oeECDIqG6kyfQTaAKAuDT4tz/qCFhrDzOzyWCmJ90JFYnQmU5ULzMITGWw61NHyVoKeuXG2vnPdl+XqKKpqas64cqsEHDUcyu6psmg0yTuEnnkwdkHgFgnA9NsRO6h+VODyF6LTst+HAkn37WajQPA+bbdp1kXNJtxgWFRVfZ+HaNbVN2bRt0TiQy1yVbPPsaF+2NZQ2obZqJtx3suKogsnDdsX3MM3Jw== 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=hgw8BQRXpt3Atz6W98DdtHu/6iivBWa3LQftv10Dif4=; b=exEIK5+Fj5PSTaovrAeAGrnGJpVJ7IrXKl79J0bPgYsj1KSLPvKuGaHRkbEUG8u0ZcW+U/KjiPVF74hyxEzlYetwXSakyclsl5wUr3cYO0L5WQ7/Biz5zRDKpI7HyzD09PvMqlzDzFk90LSUG9TUp2Eq3cnu67JUFmPvAqBBrrg= Received: from DM6PR11MB2890.namprd11.prod.outlook.com (2603:10b6:5:63::20) by DM6PR11MB4457.namprd11.prod.outlook.com (2603:10b6:5:203::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.18; Thu, 22 Apr 2021 09:51:19 +0000 Received: from DM6PR11MB2890.namprd11.prod.outlook.com ([fe80::c448:f9a0:c163:8a6c]) by DM6PR11MB2890.namprd11.prod.outlook.com ([fe80::c448:f9a0:c163:8a6c%7]) with mapi id 15.20.4065.020; Thu, 22 Apr 2021 09:51:19 +0000 From: "Iremonger, Bernard" To: "Min Hu (Connor)" , "dev@dpdk.org" CC: "Yigit, Ferruh" Thread-Topic: [PATCH] test: fix flow classifier creating failure Thread-Index: AQHXNz6yR+dKpUksSkWMJwp9X051PqrASzDQ Date: Thu, 22 Apr 2021 09:51:18 +0000 Message-ID: References: <1619072034-36817-1-git-send-email-humin29@huawei.com> In-Reply-To: <1619072034-36817-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: [86.45.108.187] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: aead8bd3-4091-4122-872a-08d905742dae x-ms-traffictypediagnostic: DM6PR11MB4457: 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:398; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: kOKynjAbFpWEYua9XWTojAjseVCaWbVV/1amrbs4DTOirV7HtJu9zACIbwbjSNW2F0RPuqfDqOC2GtB0lxk+9a8oatMbk+EHJ07sQKjmU1D4+cKo57V+CNnYbukldqI2WWYrsganHoiHRaUPP8TDzfS8ETpC+UdyA3RP9II8wIr4ih9AOjx3cism1i1+X4CoQ6LhLZDGy0QwIvXcGwckpS8xZ0lLe9tliX6CowRPHkb54DD6Uvm/Woj2wO1I9KDmF0RQEgcZuStPcJXa2Rt58zAvuGb7SsN04p3uyaQNpXiMk/2nNdtNFMOGyMffqieHfl18FR42Ou8lJ6sESRduU9OV5rFqn0djN95DBms/uLZiAmsZD9hPvcV1fpyzxLwfIY6InmTUPCbQoyS8/BnAPKIkVj9a9T6CJY14MNZHBnmWirqbXerinpH8epea/yZxXPIzXWHq0yfag0BFEbIsqXLAtcrHArLyxfb8KKjLthLRkIEEKB0HLwrKHhHwbYrw7+78QNbU2t0DtS1DcUcabX/kj2ZguXzkyt14iTfB6TEGxEwjnKdCnLE2kBo1gwPJYNfPXnoVWkPTBniKaw32Qq8QDL02syqMan2R7Kdtg2w= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB2890.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(39860400002)(366004)(136003)(346002)(376002)(396003)(55016002)(76116006)(316002)(83380400001)(66556008)(110136005)(38100700002)(66446008)(186003)(4326008)(107886003)(5660300002)(4744005)(64756008)(2906002)(7696005)(53546011)(71200400001)(86362001)(26005)(8676002)(9686003)(6506007)(66476007)(8936002)(122000001)(478600001)(52536014)(33656002)(66946007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: NSZYMMN7CyHkiQgEh+JVvaaNTtl3YklvZyQc/RnMlWcosMC+qfPXfdGuLMGTN1TTmticp8gBp+Fp8kmtlFM+qhLCNOb7u0sQOHZxJPqu7K2BMriHDxNL2cCzi9PwqBI8HJ5rzvkO0rBG/WVd7VwacgpO3OnZuVXJjWuE1SSTTLsSiebcwk01rOvriOo6HirbRN2W7N6hLFkp0w3kqiSwgsu40oUU+vHzA+bphE8vteWdmKCXj0JyYpmEQ6cuBo+5OF8e7akaSWvg+7hsBaT01SpUakFi3FnhbttpnDVIoQhYkwNe/L3xnwRySmI3JK/gU0I3AqnI+i4yrctFe0midG2zoIV+url+mRDuuWH+VqLIFrVj5YYRc7vUsjqz8VOGJqDc6rMlBl3YlRRkvnKtbd66b9n4SJEgJj55Yird8uKE4cVSmnWhUA81xhUwfCNxDBb0WQq/NF9heXZsAWGJLnEP0TBBvBR2CfeFvvdqwOFhH0mpTTWqI8TbJ8KpPJYen1nn8mttMH3L3vj6H4QRmBgRT5e8a82oXw50sO4+IwlAuuRcrrFpVyWiTOhmdnEiCTKFIg3LJxKlSfE2cT/km1h08k60y+ASt+wmn5lbb53ObeB65TO3X487Q5WcckFCXP3qtk3E7GZytRxktT+e+mvF/N+yAsuUDVx+4xqwIfXXUuWs6umBYiaswQIji16Tg07GE/Ek53IUseiURZrCg6JkcQgfiEqb7zMPf6A/Xqs= 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: DM6PR11MB2890.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: aead8bd3-4091-4122-872a-08d905742dae X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Apr 2021 09:51:18.9234 (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: DAsJKoQMMt0ckRKoOnDtjmqIky1UtgzaUS0KzE8iHrYx5mDAsWQBIzw3KRBU5cjF91Q/DxZmAlU/g9Sg0Hv13UDzlWti7OWuaO2GVRv9YuQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4457 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] test: fix flow classifier creating failure 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: Thursday, April 22, 2021 7:14 AM > To: dev@dpdk.org > Cc: Yigit, Ferruh ; Iremonger, Bernard > > Subject: [PATCH] test: fix flow classifier creating failure >=20 > 'cls->cls' will be NULL if flow classifier create has failed, then segmen= tation > fault will occur if the variable is used. >=20 > This patch fixed it. >=20 > Fixes: 9c9befea4f57 ("test: add flow classify unit tests") > Cc: stable@dpdk.org >=20 > Signed-off-by: Min Hu (Connor) Acked-by: Bernard Iremonger