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 1313341FCD for ; Wed, 30 Aug 2023 14:28:23 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1A18540287; Wed, 30 Aug 2023 14:28:23 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2040.outbound.protection.outlook.com [40.107.236.40]) by mails.dpdk.org (Postfix) with ESMTP id 7CC7540277; Wed, 30 Aug 2023 14:28:21 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b7yOBcBzGIrpfU5geKa13fa1bma3Kgwz8tASSLpD3a6RO9zdtVXMKiBGVzyQChZNy8dZkFmWr3El3nMdjktGPdtAj+h6BE++voAo6rg6ahKIv1FL86j6FFnwA6jKUraoNNEzl7oZLLZhsAZEfzz9suvnok6a6Kuc4+GCQLiWNwSpx9wMUcySyoKXBJZyg07Ntj15jKmRKYMYZjC4ZqfWKKJZtn++S/YpWgvgTOyMlgOpz2x+oDJ8etgrVckZje/icAH7INZ7EsUKANB3dhKsjgZakIZ2mov9gzAZWMws/upzvoRGfalpWqYABpK5jG6QASUm4b6PKbl6MR65TUXOQg== 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=kKjdjPnOdca+IKFgp97RjB6tssEoaaJ1uxIbHD+ngE4=; b=PgrjOCs7elOQ/IdhCbyZOdorP5I6YDO2DkmReJKDwnzSOumEInd81Csm9Rcet0nC/R8uRBrRztHKknY9halkKOJG3esIHGBy84YGDM7QM5m7UUug8NUm6URRfSumn86BwG5J8Js+eTwk+qXqYUKnP0kakKqPDCo9lGE8e4Rm+2b1UHm5rowfYKWu0uC48LA7giDtDMCYLZUzemQf1acftrdvVCDt52k3j7Jo0F+iBiM0yGuZNsdUzQwCK4sWYabUTau/KFOnXIvCacmQJhN2MGuxntxOIbVFyux9UU8lXG09468pN8jeVmr4ugvqb0nf8dT9ZAB9eKBvqfHqQwAZTw== 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=kKjdjPnOdca+IKFgp97RjB6tssEoaaJ1uxIbHD+ngE4=; b=JHsqelzYiHrU4827ZJKOWSZ+bsgc5wS/NjN7XM5YENj8yZ08G3UEqaXTP/OU8MblU+ap41CpMYzOoAnC0Zvj0HVKn+/E9/Kw7CEGOV/SogCQQ4e4U+z+702jqKNVFTlqCD4OgLG9bGV7tF/Mvkxd90L8AyMHE1gUB58etFFQ0++9lEm+Zkr9ANO0wP25jTsZttn9HVxgvxX0yeAmbtGBCUmDkC85xmbC6D7UZiAiyAnwfLXH0i0q+/HoKxyBXr12Y+ukKQ+LZKQUaz+eyQ0WQUmquepL4FyLNhdLuWhTxpWGUcT0zWE/1hEIQTRHOIQbN3WYreVHy5PryqjaYKnIZQ== Received: from MN2PR12MB3086.namprd12.prod.outlook.com (2603:10b6:208:c7::14) by DM4PR12MB5183.namprd12.prod.outlook.com (2603:10b6:5:396::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6745.18; Wed, 30 Aug 2023 12:28:19 +0000 Received: from MN2PR12MB3086.namprd12.prod.outlook.com ([fe80::d:167b:6002:4199]) by MN2PR12MB3086.namprd12.prod.outlook.com ([fe80::d:167b:6002:4199%7]) with mapi id 15.20.6745.015; Wed, 30 Aug 2023 12:28:19 +0000 From: Raslan Darawsheh To: David Marchand , "dev@dpdk.org" CC: "stable@dpdk.org" , Matan Azrad , Slava Ovsiienko , Ori Kam , Suanming Mou , Bing Zhao Subject: RE: [PATCH] net/mlx5: fix leak in sysfs port name translation Thread-Topic: [PATCH] net/mlx5: fix leak in sysfs port name translation Thread-Index: AQHZxIt5QQWY0X/H9U2bumPZdrn897AC8b2w Date: Wed, 30 Aug 2023 12:28:19 +0000 Message-ID: References: <20230801151831.3703427-1-david.marchand@redhat.com> In-Reply-To: <20230801151831.3703427-1-david.marchand@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN2PR12MB3086:EE_|DM4PR12MB5183:EE_ x-ms-office365-filtering-correlation-id: 112783f5-883e-42b2-61b0-08dba95497f5 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: emAhcHRlgo/39xG7BSxFZahh4JKM0R1ViDSxVBku7m3G9tQtJUwcoYVHlvXmvV7LM3eul3u4aoFpZNiUdokdOOIwVWtk3y0s3Lw2GVZ04eLW3n+C3v74jy29XtERCJiWEWJrzbru9pvOFo6ZDj/FQGa2UBlbfsMD/KCeRpuiW7Ot6YHDukJemPWycUabwGqiCUoAFm2rBIytcRBolTOgskJ+LssHBfIztw8cfx1KCSLSqdHm0S7ro3Nf9YVeJ0M1mzUpt/QOzq2kE8K8wKF9i1mrWnEtuGSAviLFBYCJ9adz0JbKU4YFHPp7KpIQ/Bz2LS4WR6aljMSZJg0TnrJpQdM3a2Hf9XL/9j3D2MDoWs7KbOuQLjZdy9gXFyDD9pZaQcNBUi76gXRDBqzkehRcuoYl6qQLbk+fm/EU3xSFA2VoI32z1tfj4unnf2YMwaJCBRSi9zFqso9VeB7E3IV/G8knaQEfyrxJgb/z2U58xdSGE2hOT8TgrOiPvKSLXh0geq1SYrE5lmNsmMTP29KaLmW3uPsu1CFMoTX+UhvoZpC4XJd45sYQqSl0ql4uLK/GmR4Nm9kxiqqpMVNqjbmTKObBFpBg/QFxDlv+AJSKoGM9vwvyf21hLnXxfcnKbSXH x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR12MB3086.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(346002)(39860400002)(366004)(376002)(396003)(136003)(451199024)(1800799009)(186009)(7696005)(9686003)(71200400001)(6506007)(53546011)(478600001)(76116006)(107886003)(26005)(2906002)(64756008)(66446008)(52536014)(316002)(66476007)(54906003)(66556008)(66946007)(5660300002)(110136005)(41300700001)(83380400001)(4326008)(8936002)(8676002)(33656002)(55016003)(38100700002)(86362001)(122000001)(38070700005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?QkdkREhuRDRoenVNVDM2UzJ3TW82c2lvaFFkMUhkT0lJWXZONWR4bHZIaHdS?= =?utf-8?B?Q000VGx4Si9jQ2k1M1ZwMjQvMU42akFyNWtmUGJyams0NnZtdHdJbEdnUmNr?= =?utf-8?B?N05DYVhrdjR2VXVTbU85MnI0Nk1DNWphQ0lKS0ZDVFRJRUlxc1ZLWTBBaWp5?= =?utf-8?B?aVMyNmpMWXJZa0tTcWhWa3FUeHkrdk5iRWF2OEcxQmQ1ellCMDRDTS9nRGJ5?= =?utf-8?B?dUF4d2VLR2FjaFc4MStYMUI2MmZSV0FlRVI3VWtEYUFPTnRscXc0anhKdlJu?= =?utf-8?B?SWVsdUF4QllNcDFJWFF4dk5BaEt6dDZnYVJqQ3M2Zmw1MTFOUThBSHB4NmFP?= =?utf-8?B?aHpPMUl1bUVLQnVHaitFV3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UHM3RVNSYTROMWN0dVJ0ais5ZlJLVWZudERzVzB6YkkzSHA4cU5wYXBY?= =?utf-8?B?R21id1BCYm9YdUxweWJQS2Z1dXUvVmVodElZVlo0eHNkenNKM2IyK1ZpN0ZH?= =?utf-8?B?TkFsTGowNEt6MFVvbVpKbDZyQVNDNTF6Q3p6TklTS3h4SkVqL2ZBaWRoTzhw?= =?utf-8?B?SlgvTnplc0EybGZOT05kMFpFeWpZeHdoV3cwemtBSTErMzhOU2ppajRwRVJr?= =?utf-8?B?Y3JaQk5aMFFaeS8wUjdGd3A3dDlNNGtuaVEvQit1YjFrcWVkUTJ1d2htbWNu?= =?utf-8?B?Y2JIOTluVEhmcExnbm9qLzUvbXh0MGlkUmd0WFRKOWhkelB0clFsOWdoNWE5?= =?utf-8?B?M05CTzRxVnZTT1p1eHhpTEJ6Rm5MOFREWUZ6aGxCb0ozMStDWUhYeDRpNnBS?= =?utf-8?B?dGpRZ2tuWWxaQUNkdk1KUUJmYnhkM1Z3eWFuWnlhd2VLc2xpeUh6MG02emxI?= =?utf-8?B?dTAwTkxObXhERkpCbllZcDdSRjY0ek1FWklTU0J6QW1FRitMcXlWMTM0dFRE?= =?utf-8?B?bndlWWczdXptaURWSkVHT3hRZ0lRUE1tVksxdzFVazJaRnVudzFDY0xGY3hT?= =?utf-8?B?a3FKRTdpUVZzdTJIeVdaMEh2YWROaUp0dTJHNkVtdmVzank1SlhUSTRObERX?= =?utf-8?B?R3g3Wk4vRXBadVJoZExiQXRlY1E5M0JwcytnN2xGSDRLQWM5TE5iZVExZEJ3?= =?utf-8?B?NktjSG10b2pjcDZzY3NJcGZYMU1wMXdwZTMyWUJJd01VRmZrbmtIYk5vYkdY?= =?utf-8?B?UmdSZWhyVGNYcHNUcVUxcGRLSDF1VjdmakJPd3ZaQ0lEekt1bS9YRHRJdkNm?= =?utf-8?Q?pGY0=3D?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB3086.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 112783f5-883e-42b2-61b0-08dba95497f5 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Aug 2023 12:28:19.4224 (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: fV2a/idbHTYOkxFwJnoTmRFl38zIYGZm2/CywvegQyDAP3n50ls7XPl+iF3wpRYuEdYM+ZccukMHGfBj3iZF1w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5183 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org SGksDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRGF2aWQgTWFyY2hh bmQgPGRhdmlkLm1hcmNoYW5kQHJlZGhhdC5jb20+DQo+IFNlbnQ6IFR1ZXNkYXksIEF1Z3VzdCAx LCAyMDIzIDY6MTkgUE0NCj4gVG86IGRldkBkcGRrLm9yZw0KPiBDYzogc3RhYmxlQGRwZGsub3Jn OyBNYXRhbiBBenJhZCA8bWF0YW5AbnZpZGlhLmNvbT47IFNsYXZhIE92c2lpZW5rbw0KPiA8dmlh Y2hlc2xhdm9AbnZpZGlhLmNvbT47IE9yaSBLYW0gPG9yaWthQG52aWRpYS5jb20+OyBTdWFubWlu ZyBNb3UNCj4gPHN1YW5taW5nbUBudmlkaWEuY29tPjsgQmluZyBaaGFvIDxiaW5nekBudmlkaWEu Y29tPg0KPiBTdWJqZWN0OiBbUEFUQ0hdIG5ldC9tbHg1Oi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