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 3C255A0C47; Wed, 3 Nov 2021 19:03:16 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2994E41103; Wed, 3 Nov 2021 19:03:16 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 9D54541102 for ; Wed, 3 Nov 2021 19:03:14 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10157"; a="295011023" X-IronPort-AV: E=Sophos;i="5.87,206,1631602800"; d="scan'208";a="295011023" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Nov 2021 11:03:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,206,1631602800"; d="scan'208";a="578262212" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by FMSMGA003.fm.intel.com with ESMTP; 03 Nov 2021 11:03:12 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) 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.12; Wed, 3 Nov 2021 11:03:03 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Wed, 3 Nov 2021 11:03:03 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.176) 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.12; Wed, 3 Nov 2021 11:03:02 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=foIW46QaG0fHeIOo1nYJ/y4inWMdit+yMXm5JolduLkhjmnyrQ6t2z0rJu+p2b1e70y7vvRRUk4loDN6whjK0qXTz7C8Oxc2n0nZhlABsAujlHFbr78kD5eb3fJ0cRuD3DvVuR5XuBe9Hq1noHLlbsO24zVWuDJLS5KEAnwxA7UEgoDEEJYJgsFs54/6EHG8rMYO/+r6fm3HSRc3ubpcReJ1SPQ6bdbcBgbnsrgMhu1IdXpftqLKVdd9l2B6EDVuL6l9CfeN47DslFzjLEmyBkDW0adsGcERO3ldAv8Ehwputc8nL2RYyxu1//Yrrf2HAI0kBeyEuV/dQuzawBl/gA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=kJJiQRNJceSsLC29XwSSchosJFkU9mmykDKmt7TGQGg=; b=kDzagY29vfLP1X1FiJe68XPI3HuHDvFVKn9q8+IaRUbCXsyiBFQeuaE8xRAa0HjFUgBbuiiHKr0tAXxdl8LV4IIBwma6e7B5nG84a3EZWADcpoNwg5wcJwnyXSrt7Uy4Twau4CobQjB5wxs9EngDj+xk0Ua8EoVp8mGo9jlU9t3O4ywQeOQ+IbKbXqORPXfxLcrp/pvBQK5TwVnjzbjxCpp6kX+VB38r9lcmz01DDtCMkXNw0tMFcHuXu399I5CTirHQz7fHOm5ODnWOWeohnR/DfrPKLMg9HqMbTFDJK4uX7/yp/yDStmGh1K8GYODZKsSTMPPETExDKoFsb1NlMw== 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=kJJiQRNJceSsLC29XwSSchosJFkU9mmykDKmt7TGQGg=; b=Zv0aARcREQgEEaXs95eZoQg24xZZejgBawjRqOLQskIGJ8lLQkggOeoEZaIwm7IKHQMLEpCLokj82aS0MeA37Nhw4JiE10R9sn2LL5XDaUymTrLsZNbeeV2wECx2yD8+wtQiy+5c3+e5Y/rLpOWsvZEnYKQSj3RWMSCm3kb1JAk= Received: from PH0PR11MB5013.namprd11.prod.outlook.com (2603:10b6:510:30::21) by PH0PR11MB4936.namprd11.prod.outlook.com (2603:10b6:510:42::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.10; Wed, 3 Nov 2021 18:03:01 +0000 Received: from PH0PR11MB5013.namprd11.prod.outlook.com ([fe80::4c6a:b2b:c561:4c85]) by PH0PR11MB5013.namprd11.prod.outlook.com ([fe80::4c6a:b2b:c561:4c85%8]) with mapi id 15.20.4669.011; Wed, 3 Nov 2021 18:03:01 +0000 From: "Kusztal, ArkadiuszX" To: "Zegan, PrzemyslawX" , "dev@dpdk.org" CC: "gakhil@marvell.com" , "Zhang, Roy Fan" , "Zegan, PrzemyslawX" Thread-Topic: [dpdk-dev] [PATCH] crypto/qat: fix access to null pointer Thread-Index: AQHX0MVav3iYcGH5VU6NW56ixl/PEqvyGHsg Date: Wed, 3 Nov 2021 18:03:01 +0000 Message-ID: References: <20211103150843.3235347-1-przemyslawx.zegan@intel.com> In-Reply-To: <20211103150843.3235347-1-przemyslawx.zegan@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.200.16 dlp-product: dlpe-windows 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: a4356058-b7e6-4e1e-bbd9-08d99ef42d03 x-ms-traffictypediagnostic: PH0PR11MB4936: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:418; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: yERDozpuVJPGfyKjRHbzQhAD23Klk8Q3lBO1ImU1PRn9419EX/YiXeDgATHQJhV404XvueEelja6uApvzg+PhSGRKqg04atkbvvYEfMrmCvxbeAo7Fnt9f0GRh/O0KVSFExgygDPmb0y8d0Ye4y7ms+AkT63BeQ66xERqqymi3agqg5IgI+go/Bb54eqDcVNRyriuTV47jYiGiH8iVH0UqyXmJWZCBeghZUC31dRgIgd0CPIToHSs4BkQtZOO3jKbexvTPMJc7+a7ivt3nx+gL4LAp9AvrUZ4kOgj4wB+D8Y11rzXpajgwXeM39SsWjRubmNc5/Thfd0EdD8rzYlj1VjHSf96pU+YzgEXLSkTpGN3PI/Hb4fOhqjjyKnZMd02qksRfdxM+AjiR10SOdFVq02RvevvhUPg25PnXiI4uIWn28yHiOCV38UOgmDscgmLzYY1gOtNtb1He1s8khe0ARQgpD/nE2HGwMFdh8HitE8cTnyHgZGst4diFmZr6QBMFDuG+WTAC1XBdsyVSVc01MEk7cqK2d+7U7R/XS5JigRsaccal+I9hTTpbIWUBCab2Wbo6zfmRKBkq8L0Xpzeqvl6bIn6E+5Dits2zg59f1Hcu9hQlPSErQIKtKk88wf6r5NE4vFyPVqqJG3+NPHiN7142dbhhWc0Ihopbi50SbWeKTHYkcqpmL13uwR+FY9H+efF2Mt5gUMqREggax3Kg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5013.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(66446008)(66556008)(64756008)(110136005)(66946007)(54906003)(52536014)(66476007)(76116006)(8936002)(83380400001)(7696005)(2906002)(316002)(9686003)(26005)(508600001)(5660300002)(4744005)(6506007)(8676002)(71200400001)(107886003)(55016002)(86362001)(186003)(53546011)(38100700002)(4326008)(33656002)(122000001)(82960400001)(38070700005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?GUa0KNwEjSuW9UR51Ndki7ZU6w/s4GvCLDYUqvVAl5veHHbWKy+U3w7w/BC5?= =?us-ascii?Q?esS1ohmfl4r7tBpTlBd1oQnRmpPhigAntt7U+bMmhL1XKgaTcVQOIfUQ+zi6?= =?us-ascii?Q?bm8/oW/ueJoYij/Tgf2gJ7r8zXeiFaUJ4z/jqBovKk5LWwKceVnjxXas4dGW?= =?us-ascii?Q?Vh25inl3jIiWzkUct0gH+sv6e2bqGsTqNwK1U49GrjYP9efUnBYpOaXtCtH8?= =?us-ascii?Q?sZIZME/b9DgLqqsdm67nydNCUkFZgB34LG+reP40fc+BRFA/MsR5c1Yc9FsF?= =?us-ascii?Q?BfUTuPJgCnzBg/++6tgyitq3AofwtGZDoRy0+/PmpUXo9ay9tnOtnFTmgzcA?= =?us-ascii?Q?oVtK5Lr/QLOY8b4Wc8WybbfbIHP5WIDsn6A0ju02hLB56GzwFz4r5HwgbLMG?= =?us-ascii?Q?n5zFRObw0b447BiRro/wWXqxDiJIag78qNLgaYazSDztJ35IEvhU1LxFuQ5I?= =?us-ascii?Q?mhKT3tvQ7C5wAG/0dW1CVrexY1v0csqfF84+8keeE71s6kMXLKWSMjnpKjJX?= =?us-ascii?Q?PwqHqYbmBir+QqjbGviwhiwXWeJxTsg3Ir02TbizPN66rIWy4nxNkXx5Ckby?= =?us-ascii?Q?3GVVkGtRAkhkljG4t4E0owIXTIBlBVfuG72uqo3PPCBHz6yvGwmTxPrtSjsR?= =?us-ascii?Q?VOuKuMLBsGMvo0o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ascii?Q?FvRb5lczfvTAeq7xwP7Skq0c2oI4eYrN4mUZ2/ZzAH8NegqHI6OEEANwnWHD?= =?us-ascii?Q?wAm0NB7LziMxbWAGdjaXJitA7zm2ZHEJAisWTvW4uB7FbGBUNXXALZH3aUny?= =?us-ascii?Q?7hK8qA=3D=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: PH0PR11MB5013.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a4356058-b7e6-4e1e-bbd9-08d99ef42d03 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Nov 2021 18:03:01.3377 (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: lBX4cfF9zCixZ5EiXFTzi9liHKS7ODGVQeOIOtXsj2Zb9mcoJ5TyaDuAkwwY5KM8w1EteC98y5DjG1yAWQ/35sm+TmVFWYFx+CGtvofKeak= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4936 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] crypto/qat: fix access to null pointer 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: dev On Behalf Of Przemyslaw Zegan > Sent: Wednesday, November 3, 2021 4:09 PM > To: dev@dpdk.org > Cc: gakhil@marvell.com; Zhang, Roy Fan ; Zegan, > PrzemyslawX > Subject: [dpdk-dev] [PATCH] crypto/qat: fix access to null pointer >=20 > This patch fixes a possible access to null pointer >=20 > Fixes: 9f4b9222019c ("common/qat: add gen specific queue implementation") > Cc: roy.fan.zhang@intel.com >=20 > Signed-off-by: Przemyslaw Zegan Acked-by: Arek Kusztal