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 EECC643BF7; Tue, 27 Feb 2024 17:15:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D811540E72; Tue, 27 Feb 2024 17:15:53 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2088.outbound.protection.outlook.com [40.107.220.88]) by mails.dpdk.org (Postfix) with ESMTP id C12104027D; Tue, 27 Feb 2024 17:15:52 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WCXvOt+Qn/oTzKgz+EtYPSMKb7KsD5IGLWcNPgfbuUv4Hs6cUuf5D//L8hsbyG1UjkgNjWqIR9UXV1uD12qYGy3xByKG3Iq/yFasdgeez99YNsJfZNdAkXVLWROo/Pw0vutW/uXFsZl3xYh32qCC9j7AGYuhPsibrYmudHOr5gPVlIUyaKHO0Rsi1cgs6gwGgWLlRyPrgOvMXMTRIDKo3kGgONlJYlL3eEJjfqmfSkpo7hmQpMXarIqN6yeRplvHJAXsV/+OvxKzMrjEckJH6ijijlIAi1Pko7PKAbawxn1kfR7cN2Tqrlu3UBYRDvQ7f37bK8FglAJLaRJ/I8kHNw== 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=X9Jau6HxhfM1irULRkhepkR+Rbyv2XkNehUGTPstSOE=; b=lwDoZ1K8MxsmQDZKSWLvlI5bKA4nhAtmuS82AB/TPEzk3HwZ7A4sXMXKNlau5MTfWgZY1LsXZxgnbN+2s8PixE/BW5+QEDK7leYZmZTxavTH30YbVKMPDmqG6vJB1y/3Fb90SmfSoRXESj/BM5zDwekJhw+D5mAiwb5h14keVvoydYrMjyCimyoS7XHuCl0+Z1pOPggZe1Ff5uTtAlWwTGTU48qsLKrkFjx8A4e0C8gRTNwe7OZq/IdBS/hJM97aLLkAVdToczINqEK2J8Hxg24MJdZAfITApYxyHgLt197prA0GO096Fj9CaVC4qKRHGR7SZpI+VfT51nuipp8uZg== 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=X9Jau6HxhfM1irULRkhepkR+Rbyv2XkNehUGTPstSOE=; b=PnDUZbplfBDkuRQJUmHVOp7YTuDyxzfiB595ruw0Q2sHYbhbTUY+EF4xfsmKZvb+9od562EcUTUazwGIA2juCrqH7Vf0d2AeMw1p/AgZ7TbeuYXl8ZpXHjAY2CEePRmcYL2dJEDHm5bSenbETd2YTebm5NQRlt4R86fXwMRbKQqoZRbYVUYKfP41/ct9yl7cvgnSZcDNmI4wtUH9CeHB4Q/etZm6f/44KuP9jLemIqzj6aTrz5R1qxjsK82PQMWnG8nMTnJUlFlyjscFMlu90241ao+1s8lXcQpjGp/O/jGkkvlQSMp/JhfOte8VXWert3TDacpnbFW7CLpejYQ/zw== Received: from MN0PR12MB6056.namprd12.prod.outlook.com (2603:10b6:208:3cc::12) by DS0PR12MB8525.namprd12.prod.outlook.com (2603:10b6:8:159::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.39; Tue, 27 Feb 2024 16:15:49 +0000 Received: from MN0PR12MB6056.namprd12.prod.outlook.com ([fe80::180f:55b6:6424:371c]) by MN0PR12MB6056.namprd12.prod.outlook.com ([fe80::180f:55b6:6424:371c%7]) with mapi id 15.20.7316.035; Tue, 27 Feb 2024 16:15:49 +0000 From: Raslan Darawsheh To: Yunjian Wang , "dev@dpdk.org" CC: Dariusz Sosnowski , Ori Kam , Matan Azrad , Slava Ovsiienko , Suanming Mou , "luyicai@huawei.com" , Pengfei Sun , "stable@dpdk.org" Subject: RE: [PATCH] net/mlx5: fix use after free when releasing tx queues Thread-Topic: [PATCH] net/mlx5: fix use after free when releasing tx queues Thread-Index: AQHaY9+jotgrTPFlMUOv0d/nvjuOTrEeaJUQ Date: Tue, 27 Feb 2024 16:15:49 +0000 Message-ID: References: <1708421499-42236-1-git-send-email-wangyunjian@huawei.com> In-Reply-To: <1708421499-42236-1-git-send-email-wangyunjian@huawei.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_|DS0PR12MB8525:EE_ x-ms-office365-filtering-correlation-id: bcb055e2-b911-4204-1650-08dc37af5ca3 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: RBYU1oWOQf3D2vcuVA9oP43v7h0SWuw49PBYQ8UApG6X18r2rlNGJIQx7jM6qmgxfKJ/xx+krWCP7sPflCDX6UWjjb5fH8FBj+6KpwqQV6kiMWxyn8fC6GsNOp5zLTXfvw3+2BJopu6bkldBbpPcOcnKFK+GTRmPBJcEIWnl4HDiHUyL0aCp1t70AVbJC1OuDE6C6ejU8qDuIbO6Z5JCwKRu/rDTmov9AeFlxVwTVr8u143Jd7LQ7Tzg6dzHYL4iFTJ9GSWAWLR0ZvJkcx0bGjV6L1szHQHNMJPP73cP1y1VegF9RF1UyiafaL3W06kcwpsF0NP8NQpQks1hITAFbfaaf8YznnCKMMfrZtyRmGxc+nz1lB0EtAEys/L/jvlaQdAPTeOeGN7to9t81ff7urdgolXiAFI8RFFdn73ZqSKlLiToPSWuqiNwPvV3SoF3C1FEeCjgt6mHWKrkub9gVqS+cKk9SzxYomDuRJueGviIGl0m8uKaR+mxgjGgXJ+MHiFlveigrwigkkoxPTH6H8Q2SIl94UZpkeJDC2PEjxKxFLpfbQozprwxNX7ZhRltlcT/pcKsFKPe3DZe44iaAEd5Jzg5OMwZRT1u2/CT+nypD+g+32eJeob1psSNMXz76ew8Udb8BIUHiAGWsfhYhPy8O1pU5PkD/CQEcySb/4ZK/mGMFXLqcfarjN/6YrNHy1sqIF7Opv49MLsvF5ei8+x6lMZcKPFmD0FxiH/IkaU= 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)(38070700009); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?TUhyNnFKc25LNnpwUFpBNmNHNm5OaFh2RVFsUnA3NGtoZ29HZ3Jlem5FUVEx?= =?utf-8?B?bFIzSk9RajRIbDRxRE1ya1E0OVV2N0paam5xMUZnL3daNk5YSWJkM3YxcGh5?= =?utf-8?B?enllVE03QTFjRFA1cFFBN0RjaTJ4dTBYc0Y1U0t2eWdxdWVad0RJQ0RRREVS?= =?utf-8?B?bTJTbDkzb1ltc2t3Y1JlZ0UvVldDL2Fqbm1HRmU5eXZhWEt5YXlFRUVuaDVr?= =?utf-8?B?NnZ2V0pUV1o0d1d6U292MnRETnl6enNQbkpxakk2U2NBOXBPQ01ROU0zYWZU?= =?utf-8?B?dW4zdVltaEE3MnpVNkRNU0pJUjFLVFc5aENxOHhsTnlzbGluTlc0YURmTHRE?= =?utf-8?B?bXFJZ3NGTHppM0tqVFVQQ05wVWtuZ1d5UjdWTVFVSnpDbEhmZ05IR01RdzIw?= =?utf-8?B?UmlkUnlXO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4NVg5cEtWekpHTU01UnNYV3pPVngrTDhXM3o4VHEycTNHZ0dETzhjYmNI?= =?utf-8?B?OGpCRkJJRjYwTkpYK0I0SzE5R3JOa2xlWDFpaEVZZVBUNHVRN2Q2aTZ0bmZG?= =?utf-8?B?MFJBZXhvVkl1dnZxdGRUUGd6c3FBVTNPTGZVQWhCUDV1NWllT0FaWkM1ckJW?= =?utf-8?B?M2NhSUh4c00wT1YwbmNYVXpLTTN6UmErTUNzYTlFZ25KdTJ5ZXc3TmRaZnM5?= =?utf-8?B?M1RTWXNRMmxpcGNRQnBTaDB2RmNzdVJWN0JKL0tXcWJDSGdxWkhydmhucFNj?= =?utf-8?B?TDgwd3VkNktMNlhtOGhTcG5FeG4vZCtzWnN4TEFWYVNaY3NEcXZCQW9BVXNp?= =?utf-8?B?cTY5OWV6LzRHakpCcm80OVNoeUx4VUJVWXg3WWRyd0t0VDlxVGN0enpBWCtM?= =?utf-8?B?SnVKTE44bG5pbjR2UXFqZXI2OVZXR0tyNkFZMHV0ZENkdnpTSjJ3eHFpUWEr?= =?utf-8?B?Nk1xY1lPanBBZ0J3UWY1SmVYTkVPTkZuenZLUUQ5Qlc3TnpmeHQ5Y0xXNTlT?= =?utf-8?B?L0Q4OXlkZHNkKzcrUzFsYWpMbnc4eFRZOUJ1WXlrTmxjMkJLM0xSZHNBejZD?= =?utf-8?B?NTU1c0lzK1IxcThFSmNaUXo2RjJnYnF6bGpYSExLY1dQNHdsaStzdGtKVWl0?= =?utf-8?B?bWJXYjQrWFFOTjVSRFJlMmFEVVE4b0dvWWU2SHlLdFlyYmFEdHJVYkRJMVNC?= =?utf-8?B?UHF0NjlQU3BJY1VodW5TUHZ4K0I3eVZRUXk4OHF1aTFnMHNseHFaL25nZnFM?= =?utf-8?Q?roH0=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: MN0PR12MB6056.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: bcb055e2-b911-4204-1650-08dc37af5ca3 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Feb 2024 16:15:49.2347 (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: J0DT8ONl164zS18mbXSklznoUOXok6Cn1tUDKtH/EAOwgRJR+o0679gMZyjAUA1efN0sNG6PitF59bIkFVJDEg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB8525 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 SGksDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IFl1bmppYW4gV2FuZyA8 d2FuZ3l1bmppYW5AaHVhd2VpLmNvbT4NCj4gU2VudDogVHVlc2RheSwgRmVicnVhcnkgMjAsIDIw MjQgMTE6MzIgQU0NCj4gVG86IGRldkBkcGRrLm9yZw0KPiBDYzogRGFyaXVzeiBTb3Nub3dza2kg PGRzb3Nub3dza2lAbnZpZGlhLmNvbT47IE9yaSBLYW0NCj4gPG9yaWthQG52aWRpYS5jb20+OyBN YXRhbiBBenJhZCA8bWF0YW5AbnZpZGlhLmNvbT47IFNsYXZhIE92c2lpZW5rbw0KPiA8dmlhY2hl c2xhdm9AbnZpZGlhLmNvbT47IFN1YW5taW5nIE1vdSA8c3Vhbm1pbmdtQG52aWRpYS5jb20+Ow0K PiBsdXlpY2FpQGh1YXdlaS5jb207IFBlbmdmZWkgU3VuIDxzdW5wZW5nZmVpMTZAaHVhd2VpLmNv bT47DQo+IHN0YWJsZUBkcGRrLm9y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