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 BBAA442417; Thu, 19 Jan 2023 14:57:59 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 61A6A40223; Thu, 19 Jan 2023 14:57:59 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 009D1400D5; Thu, 19 Jan 2023 14:57:57 +0100 (CET) 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 30JDWxVc010708; Thu, 19 Jan 2023 05:57:57 -0800 Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2175.outbound.protection.outlook.com [104.47.57.175]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3n6nju37td-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 19 Jan 2023 05:57:56 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SXBvkQj4EcBWCzNU7nrozOBvIrDlDxj7Jo4ctNRcrPO3L8Q0upe70BCZUqk5yumg6hIecNMm5Y/OYA7UVQ4gRABzfHm1kLX46yNeiIqd1rgXN5stxplEAHSjU4jsUSy3W26hzdHbVc/7GbWIOe9M+QzS2EPZBRjs1/UCuvHbuC1sEodtB8Yo4IQFkwki1oILrewBiRGozN8U+meUpWUINbngCEso4Xq+R2c0lAulSCL/hAqmEcuXVgj27V4pymPnGEyT1q+ob6lRQjXkqNCVxF4hLgNYecAqFALCN8c5QLLEOmsy/gvGYwBHqkvsLc5CNAgkmof1F6u7b7H8OYvvaQ== 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=/Y+Y4aqbueB/t+D0R8gsO7fwtX5sBK1/0+THpsGGk/s=; b=BCRQme7FCFrlSm5bjYmgb43NoPgSxIwwoGe1pW2QCGJAN+CXt+atPAErdc0zvSOpFYkpbhmSX+iPUfh+Yuio+xFwLbY24x+cSx6G6Ldt0r7voXqcmyfZ7H7zpdL6JrUBdnBmH8usRet9U77Hb9o7YJTwmKJUBZPAGfR36ZAeCSPzWPBuxzasKKd6TyFDukCkWCCC6P4mA9112vqxZxHRdeajqi0WvTl5KZ/8AL4nLB14UX+h1HHJ/8lnKOs25OV6ogmJp46vh+l6BGcRarXrv/yfrksEaFp16VQecDMInkvsFW5AncFuIREUKTZvMeodDemjDzHoDwh/9pqQJYGY3A== 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=/Y+Y4aqbueB/t+D0R8gsO7fwtX5sBK1/0+THpsGGk/s=; b=agnGiwhIEtqJ2FgCxwKqe9lxzr60pTtR6CO7pe79DW35yrioRJRKnlEz4hi5rqZLIZSMOxN3mf55ORKGrTEzZYukTSoxIcH5To8X3lR25lc/hIR3BCCAKxepCGP74/en4TV2EbcMtgaqIFIHQwM6IN5PolCATt6D/FmmChQdh10= Received: from BYAPR18MB2965.namprd18.prod.outlook.com (2603:10b6:a03:10c::30) by DM4PR18MB5121.namprd18.prod.outlook.com (2603:10b6:8:40::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.13; Thu, 19 Jan 2023 13:57:53 +0000 Received: from BYAPR18MB2965.namprd18.prod.outlook.com ([fe80::5fc2:34c2:22c9:3d80]) by BYAPR18MB2965.namprd18.prod.outlook.com ([fe80::5fc2:34c2:22c9:3d80%3]) with mapi id 15.20.6002.024; Thu, 19 Jan 2023 13:57:53 +0000 From: Kiran Kumar Kokkilagadda To: David Marchand , "dev@dpdk.org" CC: "stable@dpdk.org" , Jerin Jacob Kollanukkaran , Nithin Kumar Dabilpuram , Pavan Nikhilesh Bhagavatula Subject: RE: [EXT] [PATCH] graph: fix node shrink Thread-Topic: [EXT] [PATCH] graph: fix node shrink Thread-Index: AQHZK/FhG7fkmMUnmECbBo2DrahvfK6lw+8w Date: Thu, 19 Jan 2023 13:57:52 +0000 Message-ID: References: <20230119103234.841173-1-david.marchand@redhat.com> In-Reply-To: <20230119103234.841173-1-david.marchand@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-rorf: true x-dg-ref: =?us-ascii?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNca2lyYW5rdW1h?= =?us-ascii?Q?cmtcYXBwZGF0YVxyb2FtaW5nXDA5ZDg0OWI2LTMyZDMtNGE0MC04NWVlLTZi?= =?us-ascii?Q?ODRiYTI5ZTM1Ylxtc2dzXG1zZy00MjYxMWI0YS05ODAxLTExZWQtODYyZS0w?= =?us-ascii?Q?MDE1NWRkY2E1ZWVcYW1lLXRlc3RcNDI2MTFiNGMtOTgwMS0xMWVkLTg2MmUt?= =?us-ascii?Q?MDAxNTVkZGNhNWVlYm9keS50eHQiIHN6PSIxNTcyIiB0PSIxMzMxODYxMDI3?= =?us-ascii?Q?MDQ0MDI4OTAiIGg9IlVacmpOS2E1SzgzUUZrREMveG12R24xZHpvRT0iIGlk?= =?us-ascii?Q?PSIiIGJsPSIwIiBibz0iMSIgY2k9ImNBQUFBRVJ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UFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFCQUFBQUFBQUFBQUlBQUFBQUFBPT0iLz48L21ldGE+ x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BYAPR18MB2965:EE_|DM4PR18MB5121:EE_ x-ms-office365-filtering-correlation-id: c85984cf-cd2b-4733-537b-08dafa2528a8 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: hmFGOAW7WtTaBcVph2ST3I+ivUyLvMxlFIYL1ru5Qfd0iWfdOGXcp55GqJnWbccjO4PtdM0/a7ELovt3BQVkrRn/xfjnHyANvZdY4mI2F0RgMVoPw/sEAl4GDXpXn/x7eIROxXIXWAi5uoc5ACPg/vk/EuOZ3N8xW231v0zhG0qgdMlC8Om3rWWcHP7TBU081YrvZjK2BApM8A0mu8jUTkReQ8OgEnJFcd5Fz+eC2LuvKp1I70UO5t9EQ8sAQab7T3+CtHS+1anB63fcFd+jW1W7UG4XnRAsLtUP9BQV9xcR8xKE35M56wWiWqqH+jxkB6ii00Bj8TAwGnkUxK/1DSqOpN4xGhU+S0HdexFz3rTYW0DqnwBXmGkELtXIEMgWd3Bi3N0DZAJNQpMTEy6SbyQKdCvsZuatg3O5dgualf/+r42enAhjMBQfK3tQ9NXdutBvnpdvufb8L6YsKTa91xz1XvXpyZ4Dp0h+M+NApPoKCzGLiHWGOCg+zBAdctPPLcXa7RZqJyY4PV6hO5Wrm1tch06MGzzd6k5wLYfjWdkrB413AsKnu7kz9tt52/szvxNQhbSnIAZJqXz5az3fitN5JFruPVCCwpH/fu3GyGbUoOiU7d+zazNEsq/sTunDvwQ/F7VALYASej8CZ7X0H0wLOkR/jLr62Dn3bo7OGoY13gj1PWKTA7xlxwKQ4NmE1hSIBpNc7TvTkTCAv0qcIw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR18MB2965.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(396003)(39860400002)(366004)(376002)(136003)(346002)(451199015)(76116006)(38100700002)(8676002)(55016003)(38070700005)(86362001)(66556008)(64756008)(52536014)(4326008)(66476007)(66446008)(8936002)(5660300002)(2906002)(122000001)(83380400001)(66946007)(33656002)(316002)(71200400001)(478600001)(7696005)(110136005)(54906003)(41300700001)(53546011)(186003)(6506007)(9686003)(26005)(107886003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?MpdPZ2NPL6ESqGoCVkdEV8W9H2bWdTOhf3E6MtBdJbxpk1kPg0Y3JTJr6BMZ?= =?us-ascii?Q?YsqlmCeBVFREa4zA8zSIrRGqhBizxNS7b0CcgEVO+NTzuNI8/8hdcxfKPXBu?= =?us-ascii?Q?ibEE/Vja+fTlG/yHUVWM+EGjuumu75rCnKJ5602Dza5ASH6AVwJv+JzAuH42?= =?us-ascii?Q?DE2quLtdOGVkIb7HAAqjRSt8wio4XGOmlcO5k0P5P+l2QxvF7ALrTQ29PrZj?= =?us-ascii?Q?tM1rcIQBg7T9ljxEOHPIu0nzEnbqW2LiOnW6qfwtRDWl24HucTAL95BGYXbQ?= =?us-ascii?Q?hOkBKFGnxW7c1TJN9io/0EAE64K65H9wPFj3V4fb+hslWFxPfP6sR6SKc88z?= =?us-ascii?Q?2O41oVFPOrbsxbFfOHE0kkvAGZrP2aFzaR7Zy4E80gH+hVvWsrfE83ZU3Fng?= =?us-ascii?Q?jeY8nh8m0yYGoOeHcvv6x/LtwvaDRN+YnPyQpIyLRntYd7YzuYaflN8yTJRh?= =?us-ascii?Q?VDdQmUlmTLxga7GKMC9srTylH9jM7KULlUXpZcYh9XgUQU7Yge+4pAPlGZ7x?= =?us-ascii?Q?PGPc4fgxKSd5B1jv3ppwTY7CzlWLj1yOJhtJMXkB2KE9cAVtUrYXuY/V+rPo?= =?us-ascii?Q?w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7VG?= =?us-ascii?Q?SSJs7llAiNFWdpl/OjBm9OKpJNtVZGudioD98dS3osbAtp9oWTE9aXN46/fg?= =?us-ascii?Q?taFqWoRV+m4usE1Ot9UJtjv/WASWrqGG1IYEPOPA?= 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: BYAPR18MB2965.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c85984cf-cd2b-4733-537b-08dafa2528a8 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jan 2023 13:57:52.9044 (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: XlZRsP3a2JDC6Fi7KOe5lPWX/r1dN6C3jbmRcz86Qab7no1oo1V30CDaMt+PU1dwdFrLtoY9SgpGUVvVn8TT1A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR18MB5121 X-Proofpoint-ORIG-GUID: e-MJKFjG7Kq6sXhb6nVZzPrs7H6MmwFh X-Proofpoint-GUID: e-MJKFjG7Kq6sXhb6nVZzPrs7H6MmwFh X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-19_09,2023-01-19_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 > -----Original Message----- > From: David Marchand > Sent: 19 January 2023 04:03 PM > To: dev@dpdk.org > Cc: stable@dpdk.org; Jerin Jacob Kollanukkaran ; Kira= n > Kumar Kokkilagadda ; Nithin Kumar Dabilpuram > ; Pavan Nikhilesh Bhagavatula > > Subject: [EXT] [PATCH] graph: fix node shrink >=20 > External Email >=20 > ---------------------------------------------------------------------- > If the node id check failed, graph_lock was not taken before releasing. >=20 > Fixes: c59dac2ca14a ("graph: implement node operations") > Cc: stable@dpdk.org >=20 > Signed-off-by: David Marchand Acked-by: Kiran Kumar Kokkilagadda > --- > lib/graph/node.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) >=20 > diff --git a/lib/graph/node.c b/lib/graph/node.c index fc6345de07..149414= dcd9 > 100644 > --- a/lib/graph/node.c > +++ b/lib/graph/node.c > @@ -300,16 +300,16 @@ rte_node_edge_shrink(rte_node_t id, rte_edge_t > size) > if (node->id =3D=3D id) { > if (node->nb_edges < size) { > rte_errno =3D E2BIG; > - goto fail; > + } else { > + node->nb_edges =3D size; > + rc =3D size; > } > - node->nb_edges =3D size; > - rc =3D size; > break; > } > } >=20 > -fail: > graph_spinlock_unlock(); > +fail: > return rc; > } >=20 > -- > 2.39.0