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 C69F1A00C2; Thu, 23 Apr 2020 10:29:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6ED971D410; Thu, 23 Apr 2020 10:29:33 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 4ECB91D167 for ; Thu, 23 Apr 2020 10:29:31 +0200 (CEST) IronPort-SDR: psVWPEHxWTN7wegL4wG5lbvX+xPYTU9SaD2GwzDWfEmtnNu6hm49SmbupaAj5jBxq/k/Yub3tt WX2gYwUWiU+A== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2020 01:29:30 -0700 IronPort-SDR: eMFXkrme96HFb92/JH8mSoY3oa9zjD4b66P9UPJWhV89+ny5f7UdXSY9xezNDluVagQS5KRM3A Mj93XI0bml7w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,306,1583222400"; d="scan'208";a="456827702" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga005.fm.intel.com with ESMTP; 23 Apr 2020 01:29:29 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 23 Apr 2020 01:29:17 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 23 Apr 2020 01:29:09 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 23 Apr 2020 01:29:09 -0700 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (104.47.37.55) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 23 Apr 2020 01:29:02 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FfqaQAYcfo5ZEiqbA3Q2dvv4L2BgIv3gDhpaNxJYrVzUuT7PL62ppUcUqqNhA5zjKp5KYQwtZRlilKJxJYb+mUozu3W5tZR2+62yW6rSPneuWQDjv8KGc7YCjahewdiZT1e9WCVDU2rzHI6yy5CNyUnWUrjItqai9S33PSbBXtqpXFckqJ4BfcYlxOhQabLJhtohwFmtTqO9tA+Y89VvasSUywZuzluZuSh7Xs63qUf3+pyWbnYRuFBJ8DZHG+DjertwpGYniW2y1AOJ5OCXF41bxfyOQNHzldYM0FtVvV75WFGerIv7I3Q+nwjNHw9XbOybQzDDPKE6NunfOGvp7w== 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=VtrlcNsa5xSuCzpja5IjX7w6hvQ6yq+IAG3nGeLB3d8=; b=gY2XuC0Vp6o2sYBwp+eDFwp7BjFpyRGYL8Eh9rlZbLAbQqvjGvqephcL2JI3lYqgWFCZrb8F1AaL4QMdiB7CIaHVlmXcd/Op1/JsT3a8b+eMGC8e16C4+o8gxYwO/EGXIy87452DW2k2cT1RpjtsGB9ub3rBktFPLBrxiOO+DjSTjco1wKf7XgTxrrl707s25VNKOJ3GgRE/Rso/u7YgKWYd+P6uJDPSsavVmwRvFHdN4yT3j8qOEqt6hxP1hqW2yLcKlIr7DVe5z3NqIY+W0X89Kr1C8TRmTRoTH6P7NCJ5QI7fKd8f7X/6AFrRQWaUXjOAp1GDG8i0EVVt+VR4KA== 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=VtrlcNsa5xSuCzpja5IjX7w6hvQ6yq+IAG3nGeLB3d8=; b=psGPT89XlS5OBfNBVBN46Pjr4bXujtrF9QJ3QDhq9lSq4YrZ4/yijjaUnEVcNdS3BT9KDtDjjFW5P7Ycx0IDvoHEX0sO3YLrE8vMCW5A9xuvkf3eiO6sIIAoSNekWf/HgEW3gEO3erQigCI9VBQyiLQMMhDlfxDYnksz2Uwt4UM= Received: from BYAPR11MB3301.namprd11.prod.outlook.com (2603:10b6:a03:7f::26) by BYAPR11MB3717.namprd11.prod.outlook.com (2603:10b6:a03:b0::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2937.13; Thu, 23 Apr 2020 08:28:58 +0000 Received: from BYAPR11MB3301.namprd11.prod.outlook.com ([fe80::f8cb:58cd:e958:fff4]) by BYAPR11MB3301.namprd11.prod.outlook.com ([fe80::f8cb:58cd:e958:fff4%6]) with mapi id 15.20.2937.020; Thu, 23 Apr 2020 08:28:58 +0000 From: "Ananyev, Konstantin" To: Lukasz Wojciechowski , Anoob Joseph , "dev@dpdk.org" CC: "akhil.goyal@nxp.com" , "Doherty, Declan" Thread-Topic: [dpdk-dev] [PATCH] security: fix crash at accessing non-implemented ops Thread-Index: AQHWGUVVn/QPqa9R4EiWANEqoRRZtKiGXoUQ Date: Thu, 23 Apr 2020 08:28:58 +0000 Message-ID: References: <20200422235158.24497-1-konstantin.ananyev@intel.com> <94481e37-1ab7-95f1-8c8a-cfdb281095ea@partner.samsung.com> In-Reply-To: <94481e37-1ab7-95f1-8c8a-cfdb281095ea@partner.samsung.com> Accept-Language: en-GB, 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.2.0.6 authentication-results: spf=none (sender IP is ) smtp.mailfrom=konstantin.ananyev@intel.com; x-originating-ip: [192.198.151.169] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f41a3b9a-372d-4e3a-79c9-08d7e7605e8c x-ms-traffictypediagnostic: BYAPR11MB3717: 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:6790; x-forefront-prvs: 03827AF76E x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB3301.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(346002)(39860400002)(366004)(396003)(136003)(376002)(5660300002)(66476007)(15650500001)(107886003)(110136005)(76116006)(71200400001)(6506007)(53546011)(966005)(64756008)(4326008)(54906003)(478600001)(66556008)(2906002)(186003)(66446008)(26005)(316002)(66946007)(86362001)(81156014)(8936002)(9686003)(55016002)(7696005)(8676002)(33656002)(52536014); DIR:OUT; SFP:1102; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: GXQaslcoc6E2/8dh94GWOMDGuiEwCS7ZpIxnCgEMx0sX/cNaEhYi1RiXIStOFIpR8EfFcjg8uqDEqvE5X7MjhuDNY7NWEWhKUoyfKqtk8vqwk5PoWSZ/XZd9Nm+BYzvpVmYK3LYBGVVH+RNa0a3qEDwL8l4u4Ef7XfG6/+Ve+q80aLVDoiDjRQBNsuku/abHYWJiETVNq0M3EioPP+jOygOd1soxsfPsEEsZ1c74ruW3Fsuf74S70pJXUefP90th2lAfF26ztN0PZIXnW3y97dtoNjpp5rg95G/w3Mvahmv0ErzDbYSesbLC1ifiSBI6n6L7ABTSDlVV01aT4XUZbPtx5rLTLfLOd5x/JQSBQfkzs3o8n6bdz0DfxrDTMxa9f4BfiS/cc7VJLoA0+V6Vf1ij/gCccVkoz2T0m1HoLgnv1ATtlGJ7oE+xRZMUMCXhVrLtw0Fv08xggS+QFbfZUAmMWHWy7XjDGnFmCQPhp+7B8Fqt3CxIz5I1IonKXpbfwmxCoauzMW5LVBgeL+qtkQ== x-ms-exchange-antispam-messagedata: LMl6KnL9DAfdsddwr00jZ8pY3Vk7iqj+7mYreKjcCleaVw2VPPkMWr635oCUyahBdF9sdU6xAzX+aOCm4gTpfIsES5ho0pap03625ZMkq3m8FSBu2mfRZ2C3P+v8/h4ri49Y1ijTc6NbGMEVaYHQYg== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: f41a3b9a-372d-4e3a-79c9-08d7e7605e8c X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Apr 2020 08:28:58.4026 (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: NA7hRWR3MDCnv7xSGvpGmvugjmaYYx28lcmDRFiQdm4CbhvjU/u1kHjcq5Wxhi2v5T0lVqjDbWHCA2tUudvfiGGShoPdaWzoiSmO2cDrB6Q= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3717 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] security: fix crash at accessing non-implemented ops X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List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