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 1568A42923; Wed, 12 Apr 2023 09:54:48 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 90A7740FAE; Wed, 12 Apr 2023 09:54:47 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 412FE4067B for ; Wed, 12 Apr 2023 09:54:45 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33BL5kwX014544; Wed, 12 Apr 2023 00:54:42 -0700 Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2040.outbound.protection.outlook.com [104.47.56.40]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3pwf5jtqab-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Apr 2023 00:54:42 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RUrBRLTnymiUNplJkq83f0O7Hch2yc+GeQf+xQQwa4SdJA9qmZ3KjToSmXUgBP20krpcupVWmwscJELkkR1CoLW7oIvRloqZ8hshIS1jSNGZf+xp74zz+fDN4iRoCgjrqtZhpbdzu06MJzArwaxz21yJ+SdfSFQFFwxnkPKEDn/kS/r50m+N4RqwNEJ3yWgYXF8xbhfBHqoF0oJavRdRrofrQIWPk/0Bxh//RZuE3BBVkABgvkuwxIXJmXov/q50QmR1+eTa70F41BEwA+bLoAjDFx/L0/l3AdBjLv7SRJkvjBNBtVhQVXcdElaAkzexQ+iQNFZFfZ9hgNEFlzFdDg== 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=hnHF70yt2KKZauvlx440mD6vQFhDikoDbGKcud04ivU=; b=nGsqUvOssuQ2/EuWSsOnexZ91s269IZQZH/EuEKweEnd0W4tSl4szZ/gM3y5Uac+T1KY82EiNewNF2AfBtNqABcunef/BURK3FIqIq4FRFM66q5iv6Df0D3Myi4SRFaso7WEYvuNvKhx+1ap5XsDVykIaT3G5lGh6cemrPz4R/fjrF+YrMI9Vvalr+Swlcj96DI3PWh6ep6L4RXlcErM4tGjJgG4D3uvL3MBQNoPSV73TGOVDyY5tPbxvY+sbwjf6vBV/jmgXxle8Si8oes7wKFtC/GNRj+baAN7X6vMC5R61U7bix9bNLdRKxG1m5V6gZNzNzMS/RXpoeNLhh1vrw== 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=hnHF70yt2KKZauvlx440mD6vQFhDikoDbGKcud04ivU=; b=lPdvMFOukqXHbvzb/HuLs9WfiP4jefi7Z2nbcgU+ETxpj6UN9OGYdtdJ4Q3tPosEXtwiBnrZKa+pBivonmmnYfwiIIslc3YKVMDjhMZJj8al4MtIp1ZwPS3l5i7eH8+1Mv024DOKhypYwQQaOWoHXVF5roFCBRTZEOiPUdNHcB8= Received: from BN9PR18MB4204.namprd18.prod.outlook.com (2603:10b6:408:119::18) by BN9PR18MB4140.namprd18.prod.outlook.com (2603:10b6:408:135::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.35; Wed, 12 Apr 2023 07:54:23 +0000 Received: from BN9PR18MB4204.namprd18.prod.outlook.com ([fe80::93a6:6498:1282:14cc]) by BN9PR18MB4204.namprd18.prod.outlook.com ([fe80::93a6:6498:1282:14cc%8]) with mapi id 15.20.6277.038; Wed, 12 Apr 2023 07:54:23 +0000 From: Harman Kalra To: Chengwen Feng , "thomas@monjalon.net" , "ferruh.yigit@amd.com" CC: "dev@dpdk.org" Subject: RE: [EXT] [PATCH v2 25/44] net/octeontx: fix segment fault when parse devargs Thread-Topic: [EXT] [PATCH v2 25/44] net/octeontx: fix segment fault when parse devargs Thread-Index: AQHZWw5L9orTbxcLBUueJWqBzfUlSq8ncQAA Date: Wed, 12 Apr 2023 07:54:22 +0000 Message-ID: References: <20230314124813.39521-1-fengchengwen@huawei.com> <20230320092110.37295-1-fengchengwen@huawei.com> <20230320092110.37295-26-fengchengwen@huawei.com> In-Reply-To: <20230320092110.37295-26-fengchengwen@huawei.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-ref: =?us-ascii?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcaGthbHJhXGFw?= =?us-ascii?Q?cGRhdGFccm9hbWluZ1wwOWQ4NDliNi0zMmQzLTRhNDAtODVlZS02Yjg0YmEy?= =?us-ascii?Q?OWUzNWJcbXNnc1xtc2ctMzg5ZTQ3YzMtZDkwNy0xMWVkLWJmMDctY2MxNTMx?= =?us-ascii?Q?MTRiZDQxXGFtZS10ZXN0XDM4OWU0N2M1LWQ5MDctMTFlZC1iZjA3LWNjMTUz?= =?us-ascii?Q?MTE0YmQ0MWJvZHkudHh0IiBzej0iMTc4MiIgdD0iMTMzMjU3NTk2NTY2NDU5?= =?us-ascii?Q?NjY3IiBoPSJCTGh4Ym5GS0lnV293VjJZVnRUUWxJdHBFY2c9IiBpZD0iIiBi?= =?us-ascii?Q?bD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ZkFIQUFjZ0J2QUdvQVpRQmpBSFFB?= =?us-ascii?Q?WHdCakFHOEFaQUJsQUhNQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQkFBQUFBQUFBQUFJQUFBQUFBSjRBQUFCdEFHRUFjZ0Iy?= =?us-ascii?Q?QUdVQWJBQnNBRjhBZEFCbEFISUFiUUJwQUc0QWRRQnpBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUVB?= =?us-ascii?Q?QUFBQUFBQUFBZ0FBQUFBQSIvPjwvbWV0YT4=3D?= x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BN9PR18MB4204:EE_|BN9PR18MB4140:EE_ x-ms-office365-filtering-correlation-id: fea78508-6110-4cb2-fd4e-08db3b2b212c x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: aAob7QVg9PkKm/jbhl+BInY5mjEoed9Bz/siwb3K3lT1CObp113AtwomIei3EUwQC/TZ9I5sVVrViuy0dWaj3PQ7b0XiRB0Tr+FvoLoQMs/PynlGLXthQAWmIiH1XLivxMNxrC1+zLGRxd6ZyNE8elS7wVSAmxqZyMcp3G2TQdQdKfaOxU4JpgazWU6ut7W+bb+xBaHxv754+z2Fpd+7+lgSfw7NtjRXZwWd24wX5djrK617RNHaJ1Y3YXiYdrmLFH72SNJnrOyD7XbY6+xRPZRXnnjff9UDqEDWJTI3rejaqj49O1KXxnnlgbrdFQ4IKWojt/Xf1yICSBesAB/DdQXVHG9Y9LhSj1VZ05tj0yFgJI/fs2IYdyWqm73kWAFnforethRnRgN3qIgam8G8eV+s9BS9An7+bWmLo1QFldm0RpwA23uFEDh+spYsH3wRaIg9HtQVq5omS8i4dRYjBwkc0K/CtxnwNOTnBUhPYylX0g2KiLxSlwfvayPmzHjva+hN3p32VUiO2cGgjBKVP/4xyy2LVyQuFMbgOzN3dl4fkz6Ft32xfrQjuk6smlC1LycA7pjw0RwsfoN8UHdZMyy6M9XYD0LgYQ79ZXICsVkEgcCZtcGjl5jPIq1hwYOd x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN9PR18MB4204.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(396003)(376002)(136003)(39860400002)(346002)(366004)(451199021)(8936002)(55016003)(52536014)(7696005)(5660300002)(86362001)(4326008)(66556008)(8676002)(53546011)(64756008)(66476007)(66446008)(66946007)(76116006)(478600001)(33656002)(38100700002)(38070700005)(316002)(110136005)(122000001)(2906002)(83380400001)(71200400001)(6506007)(9686003)(186003)(41300700001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?h2UEVZv/MXWNNH9CRakXmfteRH1VqWPFUrvRSYusx7NsyKpqzDO3LdVor5UV?= =?us-ascii?Q?ibgi5aS/1pRRCJuo4wZiodn1qoymi7cSb0dyr/7742teWXwebay9Bau+jshG?= =?us-ascii?Q?H7K1SxbRb5C+5QLPyZGbBfzWhz8SeqLTaQlykpjcNA0pjxaxR4A9JBuNmrPE?= =?us-ascii?Q?PsNQuf5/9ZjVyuOusREiqlOgcy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kvrcuUxzDplE2uw285bvroQsAwoeKtEJeXCSU7IDoqivI8M+17paFpnp?= =?us-ascii?Q?SBoW769v1cymIrnP7ifT+btGSdi/HehnA1IVoliJNQwis4l7baWtUls3D1rP?= =?us-ascii?Q?Mv9+rRHqNCEVn6pUX3wPO14YPcGCDGgB7FFbXVc2BH6c6WniAR4b1MnRx614?= =?us-ascii?Q?crWZBhLymkAjOmOwa+b/+nHsKIDWHEOJIwCjZFGr2uTe9uy9yXJ16dIVSf5/?= =?us-ascii?Q?xRwnx/p/zRH90UoMQ3ArjMZk3rxQQeB9yvNHuvHx+z3Sct9IVVxVEwHPUN6e?= =?us-ascii?Q?EySYLHTVoz/N6qyZBgxk8rulderrAX2qQ+aue7kFsQOoT04mqK34MS8Me2dK?= =?us-ascii?Q?QXUqrqpf1/MRHGOzQM/ouieRh3KWVTJoXCLtBr88evqnOfZnkltuG1DYxgPc?= =?us-ascii?Q?t4xeKfpvPLomBRKdiJMcQxQSIF2vaM0OTp/TFLwvjJSMSjYRtZGsVdrliFyK?= =?us-ascii?Q?lKIXtnAXjnTgXbDezfPXS3B0RONIH2WpLtJrUYArq2Xv4gtPPLIR9W7pdZPr?= =?us-ascii?Q?UYIS9x9mRPzb+n2ntgSjb4DYWhH+ZEsgpXDJpbGxr8hU?= 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: BN9PR18MB4204.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: fea78508-6110-4cb2-fd4e-08db3b2b212c X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2023 07:54:22.8755 (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: 2lGFj3sfuPzXnelFS5GCgxFRroMMkPuzAGtOdQQr5t8CJe/hDZH4Lx1uQ/kJFXEaVFBD9LietFIDpFOLBkANtw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR18MB4140 X-Proofpoint-ORIG-GUID: DIa1uTRsdvcai9cQMU49wCjSJmdyukpd X-Proofpoint-GUID: DIa1uTRsdvcai9cQMU49wCjSJmdyukpd X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-12_02,2023-04-11_02,2023-02-09_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 Hi, Thanks for fixing the seg fault. Acked-by: Harman Kalra Thanks Harman > -----Original Message----- > From: Chengwen Feng > Sent: Monday, March 20, 2023 2:51 PM > To: thomas@monjalon.net; ferruh.yigit@amd.com; Harman Kalra > ; Santosh Shukla > ; Jerin Jacob > > Cc: dev@dpdk.org > Subject: [EXT] [PATCH v2 25/44] net/octeontx: fix segment fault when pars= e > devargs >=20 > External Email >=20 > ---------------------------------------------------------------------- > The rte_kvargs_process() was used to parse KV pairs, it also supports to > parse 'only keys' (e.g. socket_id) type. And the callback function parame= ter > 'value' is NULL when parsed 'only keys'. >=20 > This patch fixes segment fault when parse input args with 'only keys'. >=20 > Fixes: f7be70e5130e ("net/octeontx: add net device probe and remove") > Cc: stable@dpdk.org >=20 > Signed-off-by: Chengwen Feng > --- > drivers/net/octeontx/octeontx_ethdev.c | 3 +++ > 1 file changed, 3 insertions(+) >=20 > diff --git a/drivers/net/octeontx/octeontx_ethdev.c > b/drivers/net/octeontx/octeontx_ethdev.c > index d52a3e73d5..d11f359c7b 100644 > --- a/drivers/net/octeontx/octeontx_ethdev.c > +++ b/drivers/net/octeontx/octeontx_ethdev.c > @@ -70,6 +70,9 @@ parse_integer_arg(const char *key __rte_unused, { > int *i =3D (int *)extra_args; >=20 > + if (value =3D=3D NULL) > + return -EINVAL; > + > *i =3D atoi(value); > if (*i < 0) { > octeontx_log_err("argument has to be positive."); > -- > 2.17.1