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 D7836A00C2; Wed, 2 Nov 2022 12:04:22 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6F4A040223; Wed, 2 Nov 2022 12:04:22 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 2724E40041 for ; Wed, 2 Nov 2022 12:04:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1667387060; x=1698923060; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=VPnQ0JAVz/MvNwjuNDGpP7lVYQ3JZOBZ7p0nla0DAxM=; b=YWU/1puu4jdAsb7XrMfbk7GJSKuHSrCWxNxzxVRtZCZePwTI/DQ+P4xi JHUZS+UFyByYImvDIwlYPN43MPK5xdVKqPUo19FBUQRUMccUxkj9GWDLH dLx+t8UkxFfkoBID2KUreL4RqJD20RlNurr7xupM3LK1mjLZs2HUW3jwW /grwnHFBYFT3RGjR7SMxIRZINpBXYkBLe++tA2wVwW+OJf6CT42lx+3Xa P1LFYlOlEgpNOn7jmfKxRqfM4+2uDF3OvTmUY4mvwbA6UYTZgr3L1/fYy xOZMxiM1QquF7opu6kx0orglNSD0Z8L9elilUNNuzpqTkJNSRepujxi+y A==; X-IronPort-AV: E=McAfee;i="6500,9779,10518"; a="306993500" X-IronPort-AV: E=Sophos;i="5.95,232,1661842800"; d="scan'208";a="306993500" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2022 04:04:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10518"; a="612203207" X-IronPort-AV: E=Sophos;i="5.95,232,1661842800"; d="scan'208";a="612203207" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga006.jf.intel.com with ESMTP; 02 Nov 2022 04:04:18 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 2 Nov 2022 04:04:18 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 2 Nov 2022 04:04:18 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Wed, 2 Nov 2022 04:04:18 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.171) 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.2375.31; Wed, 2 Nov 2022 04:04:17 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Rke2K5jU+ZqXH7KRy28dcMF5zlv/y2e6etgSKE0kfLOzTGTYbEixOok/pSb4xS1xKd7mc7QK4Sr9buN0xR7P+EI22/9zbnRYh7uLACtg67I644JeLSTZTuR7IRcqpj8rb9h5J2OL2QulYyRpUXmSaoe8fHxReep60Vg/t7wo+bxr0wFSX+GljC++dwl/Ura2LksP8z8ZNosqL6zuKZsavyqkorguS4lF3cks3c4wwc5aSocHIy3fZJWQn3752NsVXbzfx/+7w5hbIREKM4sOlVz/kET7UtOfFXGMHfEWBvlyQUdNs8MJmBcd7rGjzc97d89Zy3IKohgXumBePAlm/Q== 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=bBhND3MO1TCKKXkTKxkuMPtsTxx9o4hD17TR//QfWL0=; b=SqsagZb2x6Kj3OjvWDW6Vq7IQGAqJ2RCMAnwgN+DZdiqkA7+v5uOGAmYb2JuUMi+B1qABpUDmKwOoL4Y7Cc28IFFpibrcTB73CgIVg2JZTublxJLJ+pBQWxDtprZ+Q+Q6qvzwlqbOEgTjoNz+4FLuEGJsBF4p+ncA70rcLM35LeMQe0EMqCB017lUA3G6xbBS0OKQJxpnrczC80qCdn8jEko1K+2mUUPX1hooAl1AfltmjNQG0u/BuehiZm4xdwfR2MmaAeM0lymQNorW6EkhhEak1tDrP+PJ8Q0a3nUqr+zda81x6Iq+xcEduSClj52USmQ0s+6/YY/H3TDPeR8Uw== 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 Received: from MN2PR11MB3821.namprd11.prod.outlook.com (2603:10b6:208:f7::24) by DM4PR11MB5312.namprd11.prod.outlook.com (2603:10b6:5:393::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.19; Wed, 2 Nov 2022 11:04:16 +0000 Received: from MN2PR11MB3821.namprd11.prod.outlook.com ([fe80::fd53:6908:50cf:13ab]) by MN2PR11MB3821.namprd11.prod.outlook.com ([fe80::fd53:6908:50cf:13ab%7]) with mapi id 15.20.5769.021; Wed, 2 Nov 2022 11:04:15 +0000 From: "Power, Ciara" To: "Ji, Kai" , "dev@dpdk.org" CC: "gakhil@marvell.com" , "roy.fan.zhang@intel.com" , "De Lara Guarch, Pablo" , Ray Kinsella Subject: RE: [dpdk-dev v1] crypto/ipsec_mb: fix of qp NULL check Thread-Topic: [dpdk-dev v1] crypto/ipsec_mb: fix of qp NULL check Thread-Index: AQHY7ftIhWN/7C2jjEGQyeKrt1ZyBK4reZlg Date: Wed, 2 Nov 2022 11:04:15 +0000 Message-ID: References: <20221101140718.15825-1-kai.ji@intel.com> In-Reply-To: <20221101140718.15825-1-kai.ji@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN2PR11MB3821:EE_|DM4PR11MB5312:EE_ x-ms-office365-filtering-correlation-id: 6d0a77fb-acf5-47fd-1ea9-08dabcc1fb55 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6rWdFIOWe/2NcOcUQ+epjdEv0H/a6x0IDjvNIZ/eV9WizoDb+ZvHt5hbgFp6qPYU1zjkcmWTxcPajjTvQsVt8PeYU5rRNKakrDtmSxdcQe/jkIjZtOpSPrlTBBFZynpqpJ1Ia6GYRTUQzdIBmt0sXbNvjPvV138JIjYO+6VoBnQFOIQ0SrWFq4ZJTaEhG9qPNWAr5SQXLFq6YkRsXf2vTGZA86IiH+aiF/t/QQhLR0Abs27BGgZQt4fkwmw5mv5zBVSu3ym6p0DuS4Yh7MICaQXjL3iKuwzI2et3ci5Po9GC/peGaomfjs/hYg9lO4XBvAuAL6/e2Znh3fAE+z8Trk4/Z7VkdFHHBqmxTqkpQXrmG7Q0R9rhL7xO5ODHEIpIxtPnCtlpXaXgmGjQWyMX8/FS0jkh68W8zWk+iGYJmstK3+Ihh2uHOf7cEicLpz2VeK0BTg2ljDyfdE6yqSPqF1YUEh6IoCnDe7/eLTCSVrVxM5haTgepW9AUbxSEOWJv3DAGx0S1r6zsnFo1FFUq//HMAbyAaBSU10l5cL/Td5ZfsrZf847dJoWGWjxk/fb8T5RhTv3nNGRuagOvvVy9ji7A0tHEeOi9AZeyQtrlpHR4dXV2P5qxAApyuB29I/B3vv3t/Hhpyh0Y2SC2gW1A4gEgp09c3wwf6KYz8l5dtQqMjuAxhFcAkHouIOELJl3ReeYExrX5PGRGZNgBx8OKt6xksSIjmNyjz+YZGmZMjGWediV8IMAtQjjiNsz2mNvDV+1OEsGh/ZX8CqmxDgoTkw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB3821.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(39860400002)(376002)(346002)(366004)(396003)(136003)(451199015)(38100700002)(122000001)(82960400001)(55016003)(33656002)(4744005)(2906002)(71200400001)(66946007)(38070700005)(7696005)(76116006)(5660300002)(66446008)(4326008)(41300700001)(8676002)(66476007)(66556008)(54906003)(6506007)(478600001)(52536014)(316002)(8936002)(110136005)(186003)(64756008)(9686003)(26005)(53546011)(86362001)(83380400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?CaJ8r8ZP6wjsVUk2uRvFK+BrDPcognl+cheloTiN0vnw9TltsPaNYXf5+v0U?= =?us-ascii?Q?x0uJXsMgvvo7b2i7fPtFM4O1bv7RQNY27cdQKPw5fAw43Bv3Fkzc2D8QmiV5?= =?us-ascii?Q?bfxDFPUsK+wQyrGmtDB76HSQgIB7zMwPI+mhUN/BEYmtdwECQ3etoVjDFzFS?= =?us-ascii?Q?IfeSp0RtrDLWY6eWDnwi8ap4fXSzH1C4YHluzhbKoa15hiBSkQ+ebG06GcEI?= =?us-ascii?Q?d5gGbk+4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R9DkNKgZkhZjpc8Vbq?= =?us-ascii?Q?eeDhtBtAjzFjtdwLL6yEj38u7j5HQWZXaedTIJuW2+oPDtoBIURHuvUldlOm?= =?us-ascii?Q?3AAUi3OQds9/rm3hjrKar3YjQgzkK+DuvHr4ftzzpcvNE9wD2H966ujWwt6/?= =?us-ascii?Q?kJVLHY4Ld4y7hdBUdLQsmC8E+VM4/mzHq09ixR0ews9GjV8v6LwLV3L5HD5j?= =?us-ascii?Q?Wkn/OGxcKAXYrTiphWDamTNbG5ozJWsP124j6VfDFnkjHIxiLI+lOswRg73p?= =?us-ascii?Q?aKw7OZmKgGoDXKF2YBpgNvqsf+5+GhZh38dks6B3BFD8m50M3ewscxWrZZr0?= =?us-ascii?Q?JXF3EAncH1L9Kujedr1XKsU5BQHrBtDHk2fYFzdDSxMhfsu3NvivShVN35KR?= =?us-ascii?Q?dY57OcatkDwrsJY8ckioUeIuzc2a47jKf4mGtkmMr4PB8Vnn1EsJHLqqHREE?= =?us-ascii?Q?Dbyp+Vbe7NTfMnrv7MM2QAAO3KJd35DmwZZ8Pbtq?= 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: MN2PR11MB3821.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6d0a77fb-acf5-47fd-1ea9-08dabcc1fb55 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Nov 2022 11:04:15.7091 (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: t+1yvTterLMpdm/iMayx2qa4X0ezY6xMigtfdZj9dxx7stUqOc47QnLcVrLjKXiubQ7fy+mt0zo/8AajGe7gRw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB5312 X-OriginatorOrg: intel.com 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 > -----Original Message----- > From: Ji, Kai > Sent: Tuesday 1 November 2022 14:07 > To: dev@dpdk.org > Cc: gakhil@marvell.com; Ji, Kai ; roy.fan.zhang@intel.c= om; > De Lara Guarch, Pablo ; Ray Kinsella > ; Power, Ciara > Subject: [dpdk-dev v1] crypto/ipsec_mb: fix of qp NULL check >=20 > This patch fix the NULL pointer check when dereference qp and ring lookup= . >=20 > Coverity issue: 381625 > Fixes: c75542ae4200 ("crypto/ipsec_mb: introduce IPsec_mb framework") > Cc: roy.fan.zhang@intel.com >=20 > Signed-off-by: Kai Ji > --- > drivers/crypto/ipsec_mb/ipsec_mb_ops.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) Acked-by: Ciara Power