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 05A474330F; Sun, 12 Nov 2023 15:29:21 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7B815402DA; Sun, 12 Nov 2023 15:29:20 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2051.outbound.protection.outlook.com [40.107.237.51]) by mails.dpdk.org (Postfix) with ESMTP id 821A74021E; Sun, 12 Nov 2023 15:29:18 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OXRSw2l8lTHg4WZI4H6Uqi4QQm6l4hJln+AAxSnYMtujhiWUQ+A174MCSdMQqu9FVawTUMhRBjE6jXzBJkfFasiHr8Bq7MPRNWozc4t1FKoNYDPzwE6c7cDlJTYLJJmwfqlmJLECOeacRFMzid1PQcZaeeQEkj6Eqq53rLtkSJkblFwCQBQEWKajalad/F6/E3AP5+HZiJB2GyJqdwzsuICxlqtv/TDEpWE054SvaNXTiilW1j/5OQHKSRKRMejvAPeYxlImjW64rPRKKHLxwMhrg8ZIOo9lmazY0s8T4AmdpUAoxIK2M9jtJLkk267n1qW4b6pZMmbPQfrVT7mYPQ== 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=4qpJUyrLkeSqqEopaogdHJ++zuzR2UMbsGv89kkmIA4=; b=bkLDbptGsE+IBDwptsIRruiCnheX/K2NleZjY05S41hXc8h4etcQIWOiZEG4JUhXzv2ovH5ErWxrAeN/0DQKMa4ddIWQqBL8SscUxpiFGOUsYtISgC5YULr9ZPXHoDFKJN3fGo1SqsayVbjPTOWokxBnn6gr2wieYejBirDSAy7JOyk+PmmSG0/9R1ve4Dit4gAyZI4S/WiDrx6PhPE5s1z5d8CmAl/qHTrU+FLI7WGuvRvsBs476CqViS9rOPKkWf06UYQKrtIP4XOLLX1tz4cHhX4UILk3Ei3vG8rcZTkoD5n1TUAbYnc8vx4dmcekpRzgflza6QPdvGgRDVPKWQ== 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=4qpJUyrLkeSqqEopaogdHJ++zuzR2UMbsGv89kkmIA4=; b=pJrfJsvBVmM6UFYs7kKljSHh8dfJQrUEjGLXvanwfYetViwNPMbD40NINL0caFjhFP8HBAVWCJyq3uuQtToYrsFAyfmlevcjNij9qDSG0qNr0PwQ1fOcj0t8QpyEisHrj2cnhsJj+HX56znNnPgfP6Nv9g/lpgxvTveI9DohlOulQWvUhZdizvQarPqqRpXUUCqrd2xrVY5vr5OnbpeYqOF9cIXa+RYMzDbOyVHnl+i6yEjKqnUNbeWlAxiBmZoieKmYdz3cZG0SuRaWtpHqJqcAnfOAJAjXNZ+HTiiRTGEDmmxX9UC+St9/JcnZ+VhCk0eAF0K4avnL4xRLu1muQw== Received: from MN0PR12MB6056.namprd12.prod.outlook.com (2603:10b6:208:3cc::12) by SJ2PR12MB9244.namprd12.prod.outlook.com (2603:10b6:a03:574::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.28; Sun, 12 Nov 2023 14:29:16 +0000 Received: from MN0PR12MB6056.namprd12.prod.outlook.com ([fe80::6f7d:cf6f:930:a8f0]) by MN0PR12MB6056.namprd12.prod.outlook.com ([fe80::6f7d:cf6f:930:a8f0%6]) with mapi id 15.20.6977.026; Sun, 12 Nov 2023 14:29:15 +0000 From: Raslan Darawsheh To: Dariusz Sosnowski , Matan Azrad , Slava Ovsiienko , Ori Kam , Suanming Mou , "Xueming(Steven) Li" CC: "dev@dpdk.org" , "stable@dpdk.org" Subject: RE: [PATCH] net/mlx5: fix use after free on Rx queue start Thread-Topic: [PATCH] net/mlx5: fix use after free on Rx queue start Thread-Index: AQHaEzZrDrP+3EkPiE2DA3F4OdjIU7B2wrYA Date: Sun, 12 Nov 2023 14:29:15 +0000 Message-ID: References: <20231109175820.3182924-1-dsosnowski@nvidia.com> In-Reply-To: <20231109175820.3182924-1-dsosnowski@nvidia.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: MN0PR12MB6056:EE_|SJ2PR12MB9244:EE_ x-ms-office365-filtering-correlation-id: 54fa95dd-b5f6-4a47-8065-08dbe38bbf9f x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DbHglUscg2gX/CY5a6x+AwggD4i0EHXBA5aDxWIRmPqdGaJFp3oOjz1mFCmJ2j7JTe2tuI5ZzxpczUizmb4q1NysOGqziAmn34dZZXeMIZJgy9MphXup3lLfl/u4zNUODfaSY+sr2S486ME0O1RyNrQHGFwWER12/NIqfP9AKG/unBmuKT1U2B2S5VGDOvioIUsYgAjdS9XIzijcixlre5POWDtA/JwTRo3Q+l5ULVULsyvKXFSaHBdmfk59rng0mJVB8tGZQuuYOCImxHjhtAdZ9l5YY0Ys+LcRPXuXgkIyGQngP9IbFeIBy+HLr/oBlU6kbetaNvFaNji6x4o+gw/9M0CpwEzxlutXTet114VVuaPuKU7+vt0fR6zUCOlJwk4qvD3bk9J6+HbalW0DJ5qwuA5+auYSDYbBdIhaFBmmyUuqCH0Nc0LTzADN6z9EgKYeep5yZ0nvRhdFAvvjank1VsARxHkXVimxICQKRTI00Z06lDObOC+ijiB7yuRJkJTcrlwNikImYouiLShelyGi1nkUN9o8JTMqEYKIypzHehvaOpTFM8Wxs2YE29My76AGYOVOOf5yNCPI93M8Wc31Vr57gGFE52QJqNBOkgCRBUJlhgpCUkwsrWLaappy x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN0PR12MB6056.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(376002)(39860400002)(396003)(346002)(366004)(230922051799003)(451199024)(1800799009)(186009)(64100799003)(66899024)(110136005)(86362001)(316002)(33656002)(64756008)(76116006)(66556008)(6636002)(66446008)(66946007)(66476007)(54906003)(38070700009)(71200400001)(83380400001)(4326008)(8936002)(8676002)(41300700001)(2906002)(26005)(450100002)(53546011)(7696005)(6506007)(9686003)(5660300002)(122000001)(52536014)(55016003)(478600001)(38100700002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?clMrYkVEZ1V2emd3MW9tV1JwTFFGYmV5RFBzYzRxVFQxY0hMMzRmWFlCd0NW?= =?utf-8?B?MFZ1SzViR3ZFcGwza29DbWJNYzMxd3JGVXFKT3VPK0V6cnRvdVYxSDZFU21M?= =?utf-8?B?S2xlcXhlam9veHhzOGtreklwMFhjTmdvTTUvZ2pSMHJvMi96Sk1sUVg1MktW?= =?utf-8?B?LzFVR0NqTlBZc2g1NHc3NkJHMjdlbXFSb3dUYm1PelRublJvWHlYN25QbUpU?= =?utf-8?B?L1NaaWp6YS9CUHVzb3lyc09lc1ljY3B0ZDhmWlVGMDVsNENrRUp1a3FodXlV?= =?utf-8?B?Y2JnV3djRWhKdk05ZUZMajBDT25iSnJhbUxxdDEzcVNwTTR5aHU1SnJ5WS82?= =?utf-8?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ovBX?= 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: MN0PR12MB6056.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 54fa95dd-b5f6-4a47-8065-08dbe38bbf9f X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Nov 2023 14:29:15.7733 (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: DEc8KUuI6S7Rbt3J8JpiAx1ctRLtI3yiphwJW2/xFtYh24VWfYONq1BdBXIie3VlHfcmtGstbenJRoz4M767Rg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB9244 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 SGksDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRGFyaXVzeiBTb3Nu b3dza2kgPGRzb3Nub3dza2lAbnZpZGlhLmNvbT4NCj4gU2VudDogVGh1cnNkYXksIE5vdmVtYmVy IDksIDIwMjMgNzo1OCBQTQ0KPiBUbzogTWF0YW4gQXpyYWQgPG1hdGFuQG52aWRpYS5jb20+OyBT bGF2YSBPdnNpaWVua28NCj4gPHZpYWNoZXNsYXZvQG52aWRpYS5jb20+OyBPcmkgS2FtIDxvcmlr YUBudmlkaWEuY29tPjsgU3Vhbm1pbmcgTW91DQo+IDxzdWFubWluZ21AbnZpZGlhLmNvbT47IFh1 ZW1pbmcoU3RldmVuKSBMaSA8eHVlbWluZ2xAbnZpZGlhLmNvbT4NCj4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