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 44DCAA00C2; Thu, 3 Nov 2022 09:10:23 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DCBC740694; Thu, 3 Nov 2022 09:10:22 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id CE9D440693 for ; Thu, 3 Nov 2022 09:10:21 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2A37KmIA011877; Thu, 3 Nov 2022 01:08:16 -0700 Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2044.outbound.protection.outlook.com [104.47.56.44]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3km95p04tf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 03 Nov 2022 01:08:16 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BJRjCUdNAIZSs9XdbiwvUfVSf4DhjUkqQUjqvEdpEYn38lOc8inohhj/RhO7u0Cnnga72qoPY64s2CT2HWeUQLmRqD9Jwk4uIm6UshrcNcZqKAM3L4S0Rq9jSzl7HWq6OEaRC2E9ov4Qbc0pmV/SZhHfd2xMjc1e2MR1+FjrnKlHEwT6RLvdLtl0YoaGoHydvSpIjebF2VplzIIpd8p0V8h+vk79DscgSve+n8CpKu7/83tkygAisIX3K2xLA10w/1Nr3HMC+l+YreEnZnwVj0FWBxsyr6jnmncj+OjDohU5h8Yc41O+PBWJYYmxrNTp7NMqujPJYoW3Q+hEcIfacA== 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=4NeoDZL80OaigUDkuy5RelhmvFyo/F992YvHL5vbiDw=; b=OIHjYEpWZ02UZQ2AMHT9P7GAG07wVx7/EI64BLdUDL5XR1e3deMN/SpZ2lQx1wN4MZFC9dFqIoaD2L2/ZZTovPLVBvYOi7QB0tn6n/s+o3WblTk4nU4LrAt9MCK8K3qnpQ4fY38kFlwiRU/slzGNosww1hEPBy8UVZB/rqV/JyhKnnsYKxIl5lTji0sbuOisajXfbUeVQynNdIT5RcmGLVdE9QBWXL/ne9kGci0SV7q5H0Vu/ctqAv16OAaP30T0T74T4CrmP+lnTsw9NFGGrIg+yRrC44ShYZtesDmYEQzpqc9Xx9U76DciMpgCeCv4WSLxpZo5CCHqodPMWIAfaQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4NeoDZL80OaigUDkuy5RelhmvFyo/F992YvHL5vbiDw=; b=kKNW11NevJpU+CDhH+T6fViCbUkbNswmGTaoAHFss4+eIoPyN4C5xv9Zl7lXXW66jf8cGR7e93h39OUWCNeqxtdiebHB18lNvhqTwJMNrlz46b3iunt7hXbBzQWZiXPfrOUv+sP7hDPyXvtIjFsWc+YFlDsifCzc2T9yT2ygkKk= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by PH0PR18MB3909.namprd18.prod.outlook.com (2603:10b6:510:2b::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.22; Thu, 3 Nov 2022 08:08:14 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::8c4f:e24e:332d:dc6d]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::8c4f:e24e:332d:dc6d%3]) with mapi id 15.20.5769.021; Thu, 3 Nov 2022 08:08:14 +0000 From: Akhil Goyal To: "Power, Ciara" , "Ji, Kai" , "dev@dpdk.org" CC: "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: AQHY7qroWu+WkkTsI0m9bYxWkY2rba4s2Njw Date: Thu, 3 Nov 2022 08:08:14 +0000 Message-ID: References: <20221101140718.15825-1-kai.ji@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB4484:EE_|PH0PR18MB3909:EE_ x-ms-office365-filtering-correlation-id: 124bfb32-972b-4394-9eca-08dabd728edd x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: AK6oLGaxYmhf+0cLqZbLRyP3+reFH2K6XgOPKSnePRjGge9OglBNMPUtyaehE8O4XSV89o5FjryqCcj5vcBxfjXdtF3q8x4AeF27ucCrpEKYGbB9jGuCX5IZC7+FScUBeVhTTXZc3UB5aZGsyIBUzsHj6UhgrXI3rb0/2OJxMoC6URLCDNOcysYwNc2XlF3aPvIibkN4mjyHM/rLaIt7eIIxjgfhl/h1tFkdBm/V4DHruKu3YTppzWk3VZiu02bnMYHLlGKOL9WR5cS8q9xbZt5Q5FZ4ncK//6D8MYO/2g7Q9yKCNSh7uW6KFi+ral/11PrR2l3dzInbSNUUi/41UAFj6VQxi83YwvaKHTAQkT/QqHU8UdylHxkKFuPEiz23Lx0uWrKE/z05Y1g65a+94+pJCpp9S1wTwPPo47jS4KA0ilJiOud5v26pcndhHQCL0UfVNKs1vljNHnBBAa7nMXI4ncEPaUvOaRujlL90qKW6tdBqgB0e1hSFcnnWqGXUqwem0IkUGJi+/HRnkV/rPQFxyr1HeQxtkGcg9V6vtpMZDCyfaAngE885i8XbI4Ky4XYagmqNnWEXsxS2/RU+gyZM/RQGaPv5y/VigOatiKd4D1QRJoz12nKXROCm1LY3s/nzKcpxuPb2ln6Fx0BSjl//n/JZi/cadPfs2O9n67Zdjk74OfxJoHT5LRe0hIBPKt3lapPOTFCZPWnYRnELUaY5BTl0R3l2zwRrErYX49MLFNs8BOuBvycIOZTA47wA x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(39860400002)(396003)(346002)(136003)(376002)(366004)(451199015)(4326008)(66476007)(64756008)(66946007)(76116006)(71200400001)(8676002)(316002)(55016003)(66446008)(41300700001)(110136005)(33656002)(122000001)(38100700002)(2906002)(66556008)(52536014)(6506007)(5660300002)(7696005)(4744005)(54906003)(186003)(9686003)(55236004)(83380400001)(26005)(38070700005)(86362001)(478600001)(8936002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?XORQPmqIc+lU+UlB+yCEW56hqTnZK0loVn7faGbhBmGi2abs3xWYccYzM2O6?= =?us-ascii?Q?eizSQ8gvIsfKqROCoH2kKyxKqWIii4XeL8GPnF4Vj/9H5jVzXEgVNFF9+tB9?= =?us-ascii?Q?svC52u/7Gg41XWsL6SViEdEsXJ4nIv1ATGfQqGJy/P3KKSMb71+/mCtIaqCa?= =?us-ascii?Q?dKL0nXN3bbgUyjGd9WI2mH20bcZoEcNOBJ4uLEzGP53r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Eek5EGZpW+wYSpdsg+g9TfiozexEe+PN3XOALCsH2ncQ/HpZ?= =?us-ascii?Q?F0HRMMeU4+wKg7MqzpeFq06e1Z331DhFoabBkAJAJkGoZDk7EeehTEEPYC3n?= =?us-ascii?Q?pxHgy2Cb4ShIkJ7F6vSTNua85O5PNRwcMTvYnWvLdnAxuYQH4KBVqh00g/IN?= =?us-ascii?Q?/6hOXmyzuqW3DG62Sbxr/eaOrsY2q5+bpIw1QUBI3p7mFxPk2wIX7NoabFre?= =?us-ascii?Q?1D//mn+E/xoGNWy9QfHxhlKPJpfPuAP0EBxo6S3D76tBSyDzidYtjq+PZyVI?= =?us-ascii?Q?7HzeKPf0xWjU9RAz0uTo0sclpiGWlq4CxtoWXJQCWD/SirzkyK31dUXNhAsG?= =?us-ascii?Q?/zkooCkAgRs+7oS1H1FWj37NbViSCC9oYaPwwmTvndmVVBU/LzVHkrz9vAYB?= =?us-ascii?Q?TX4GmjD797tKVWVCyD40S3xiLpaPS3r/nHasVnidNWTjGQo+9h5vBBeReUAG?= =?us-ascii?Q?unf01kWF7RpcE7hmpr+fRzzdwVPsbrJnZYZzg2RR?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 124bfb32-972b-4394-9eca-08dabd728edd X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Nov 2022 08:08:14.7000 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: RVhApD22xwtTO+Rix0c3G1Lzz3OtqbwnoAz9zaC6I/H4Dvua9xavMFgWhMzF8zQi3IjoaQv8+s7V9V/uBirA6A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR18MB3909 X-Proofpoint-ORIG-GUID: DMO0ie4xlXtC79L0FMwu1pUuBoAJSaRD X-Proofpoint-GUID: DMO0ie4xlXtC79L0FMwu1pUuBoAJSaRD X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-11-02_15,2022-11-02_01,2022-06-22_01 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 > > Subject: [dpdk-dev v1] crypto/ipsec_mb: fix of qp NULL check > > > > This patch fix the NULL pointer check when dereference qp and ring look= up. > > > > Coverity issue: 381625 > > Fixes: c75542ae4200 ("crypto/ipsec_mb: introduce IPsec_mb framework") > > Cc: roy.fan.zhang@intel.com > > > > Signed-off-by: Kai Ji > > --- > > drivers/crypto/ipsec_mb/ipsec_mb_ops.c | 5 +++-- > > 1 file changed, 3 insertions(+), 2 deletions(-) >=20 > Acked-by: Ciara Power Cc: stable@dpdk.org You should use devtools/check-git-log.sh Applied to dpdk-next-crypto Thanks.