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 3B158A0C4E; Tue, 2 Nov 2021 08:34:19 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 05EF54069F; Tue, 2 Nov 2021 08:34:19 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2084.outbound.protection.outlook.com [40.107.223.84]) by mails.dpdk.org (Postfix) with ESMTP id 1D5274068F for ; Tue, 2 Nov 2021 08:34:17 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ap632hodBQo4/K6I4Y+K8qLl8yUN3d6huCat0pc988rg9ZjnFPLcCZvI4Sq+NOVhBpm6tXPBMBCX/sombutdUkTkM+kCxqDVJcH7eTyMEcA16j8xi/WERy+LW9SkyoaeO9hiBTG6vicIaJY96DeNdpz0dXqChqVuy7dQ+2pnLsTbxpGacy4cWqgZITBEF0035pNrYLq6rhnoEAdwAkJSXl9BYf/PixYWWMPtECiqLN6Gaw5CWmLl/lNSZiuefpDTp93aeZtAbkbNNkIEGmOsA24VN4Tgryc9qfRWnWYV0GN5mDE7oE4KmQTrY6LPI6rExHC9rnsEnj+x77XTfdqnKQ== 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=VsbbUYFVKYNQHH9FMKKLOA+rVoiWyIgWBpymj+IvhB8=; b=gQ1hya5jLTRuyhzur0vaqpKyWiiNLtofb7JE0ScIy+kQdbIaELOL5Vln+vzXF+ujqG/mMyz3C8GV+d5428bs602+0KLMdaU94w/m5kULM9i45n9UA5EfRh5zfLW9iSKaQ20eAFdVS1pWjQhKjyqF/1xty4VdWBsv21LCswYJV6qTPyX/YI+P+ZpPO4J2M8f9u+6Uo3ewtEUGONiYArpTqJRXp8kvIuI9Ikd3+R59d4w87pVhnkKn/2y/ZbAorxWLLU1g6gUxy7AyKM6ctEy0YSIF2ixGqsx1Vv6XsT8vP3mt5m/OO4SSz/sF4pLdpCiIvcvLWGpK3kw1Vn1Sdm4wHA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VsbbUYFVKYNQHH9FMKKLOA+rVoiWyIgWBpymj+IvhB8=; b=nDefVLEbQmbTmBIUZ0GJWfft3jAJ343L4nxrfXjYyB/X3Q+VIZjK8mHF8KQ09H0+aN9JhOnppnNXQ6H0n1+nVjbXp0FyE1sGXhI7p2XRxYAnDIbKxBuTKBo2bV99bZp+lRqAjtjlKz7fpjcquOlgHIlSJn3Pdb16UBecdQoC6cavAxJwPrqXUPH9+9LI97o1vmTiq2c/iOnwNQn+I2SH8rY0UNbDix6qXretCxAynLA3lMv6rL9Lc+cwQKubVX6gz7BABKzkHYyT2WgF5KfTD38H4CiV3qpJOBjVrXKOifp3WkQHdKrIpJz9f2G+EuCSQMaXJhdtls7aprrCdVWb5w== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DM5PR1201MB2553.namprd12.prod.outlook.com (2603:10b6:3:eb::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.15; Tue, 2 Nov 2021 07:34:15 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::e550:35a2:96e5:657f]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::e550:35a2:96e5:657f%4]) with mapi id 15.20.4649.019; Tue, 2 Nov 2021 07:34:15 +0000 From: Slava Ovsiienko To: Harman Kalra , "dev@dpdk.org" , Matan Azrad CC: "david.marchand@redhat.com" , "john.mcnamara@intel.com" Thread-Topic: [PATCH 6/6] net/mlx4: fix dereference after null check Thread-Index: AQHXz0mHyBDPex+wmUuECT2Q84Brvavv2V/Q Date: Tue, 2 Nov 2021 07:34:15 +0000 Message-ID: References: <20211101175337.83358-1-hkalra@marvell.com> <20211101175337.83358-6-hkalra@marvell.com> In-Reply-To: <20211101175337.83358-6-hkalra@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: marvell.com; dkim=none (message not signed) header.d=none;marvell.com; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 61649695-85d1-4861-c4d2-08d99dd32c0e x-ms-traffictypediagnostic: DM5PR1201MB2553: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:361; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: BN7OFpy3fnXU8mR9HcZmbmV0MvzBjOvos8s9W31Axl0j9A593ScMQmZKWYbu9NjZLNP4pIc9vNWk820k8FTuTcaDLpUfN6X5nZ2x49z2fbIakekunYzbb4Ipl1GA1aKMFjrn7MvB4Sq+FyFP8hUBhqj5BEbqrJj5/QVW/t/Tp+CmSg8lniVmlO3Da8tCZsGYSHxMiyC/lxB8y+FsZGbh4LOiOLzlcoBzKeZeV+ikzeyd0ZToXWfCQwknQ4UrOBETahyuU6jturSD2U59EhFsRTC9Na+SNbx6iMzmyo9vprIuItvDoXv88B5B0CtUscqNKpG5PwF+HdOczYISJDMiTC9t4v3uahwaJxssH30wpEIgkMolYuXM7yIu2xXwyQ1ZrJ7I95gTWzIIUDfYiAVWsh0vpczSyL4vRY5uTA7a6X/1tCSM7QBAeAWqRdE51P3vgOPMsGxrgyqW9oYIyNSEkaoX2dbFbxdLbWPaA/MZRc1o2u6EYME5fMh7o0ww1evpu1hd8VoAXhUs/QB6ULbbfMi86gRSgpl3ri8ynhi+NnIwVPtI8MrdKFayUcL9Vx0/q5UMjuhdHjQrDJrAi8srvoF4KQfjZn9MklsF5rZrYwkn4Bvuv4I7Zi0RX3kjP2fQz2EL2+VgDP9xQxj7NMbbFY2+pgMwDFx3085eIYlDv92wMw34w9cUzFoUC6ZOdNKjwKRyuaYJzKM+57MhkBUIFA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3753.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(71200400001)(110136005)(54906003)(86362001)(186003)(6636002)(316002)(122000001)(9686003)(38100700002)(26005)(64756008)(66446008)(2906002)(55016002)(83380400001)(52536014)(508600001)(66946007)(53546011)(38070700005)(66476007)(8936002)(4326008)(66556008)(5660300002)(8676002)(7696005)(76116006)(4744005)(6506007)(33656002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?qrI21BUwdlkW32bfFa3KiaWvkledU4Z2jyLB4IdRkYUhj0ai1q6TnwylZIAd?= =?us-ascii?Q?3QTQELogrx0IbEG33eDUAG3SGjjWrbfaOu3iZ/MHXv4Ghw/fMJttZvGdd+1g?= =?us-ascii?Q?TZjMUjeYLL9arfMnetKT9skr+GOmhH+L47MAdYqOBbrapDm0rVx9Wl3M2aJS?= =?us-ascii?Q?pe8kJBmGaUskErf+CpEzcHrnec6G5a8xTRjZiqh9lIZQ6mNO03gtE4xqGGF1?= =?us-ascii?Q?ugm+x2IC0+SYwjkMDAwjJJnn7u6wkwmxEsie2WItKGXUc9BqL22voayhhB9n?= =?us-ascii?Q?MdRwqSYyVASf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Uyl?= =?us-ascii?Q?Nsp5PLM5JgVz7YjqASqQC44DVd9d4RIEn9KWgM/IzVt8uW+T2uW0x8e5Dqiw?= =?us-ascii?Q?JC1fkbZGSLghUvenn+zjQIAo5IdV+b6fxXZhWlruWkJTGQCxw7TCy8vwPF6c?= =?us-ascii?Q?/Y44cx/F+oZf0fmJBu+oyYTnJPdBJN1Wwruyyin135+B9etkcy8ob2gt3XWB?= =?us-ascii?Q?LtgOendIcXbEHf7KifdeO7tzvv8XJq9ciBBHd7ayojpAvg6LrIJLF3HgSzYF?= =?us-ascii?Q?adaywWqHSK+7lvLoWCDNerCwwj4ixtVFuGYzlT5hQFFVXspoZMA1hNuid2Ed?= =?us-ascii?Q?T/96qYFQHx5q88+KoIBUlctCM8Sgh6ZzzUmCIMiFn+kZ9tQ2VKaJbdMBslEZ?= =?us-ascii?Q?uCbGLeOXxujb31lMBQXlUgnr/rcswlZrLLL9ngDdaOwPPu26XU3xoqcLxc9E?= =?us-ascii?Q?mA=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB3753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 61649695-85d1-4861-c4d2-08d99dd32c0e X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Nov 2021 07:34:15.1382 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: r3KzieOur0vqE1XpBZWQxeE1gcVdEGZUPeqXsIHVk8tyLi6cEE7QD1/4jQGg8vcuz0GT+qSI0wHviB/zJ3CUpg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1201MB2553 Subject: Re: [dpdk-dev] [PATCH 6/6] net/mlx4: fix dereference after null check 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: Harman Kalra > Sent: Monday, November 1, 2021 19:54 > To: dev@dpdk.org; Matan Azrad ; Slava Ovsiienko > > Cc: david.marchand@redhat.com; john.mcnamara@intel.com; Harman Kalra > > Subject: [PATCH 6/6] net/mlx4: fix dereference after null check >=20 > This patch fixes coverity issue by adding a NULL check >=20 > Coverity issue: 373687 > Fixes: d61138d4f0e2 ("drivers: remove direct access to interrupt handle") >=20 > Signed-off-by: Harman Kalra Acked-by: Viacheslav Ovsiienko