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 BB078A0C41 for ; Tue, 9 Nov 2021 12:08:51 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ABCEB41103; Tue, 9 Nov 2021 12:08:51 +0100 (CET) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam07on2087.outbound.protection.outlook.com [40.107.95.87]) by mails.dpdk.org (Postfix) with ESMTP id 0C78A4068B; Tue, 9 Nov 2021 12:08:49 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=emfHOnMlgv3MLIY4bNpp5G+jk6buvZTVH+G6HUY5gdIId+yhZ4QupOoMiIUyork5c1XwC9knjeDpCLbdiNgk93weoGCQdo3NhvJ58qEGtPqs3Ze88PSjJespOi2FAlYMD96SF4iYb3VCFKzSfrS3EInfK/QDgp0y7X18Zj+z2TJDGYSL/V2cRh+037IVU1sHq5X4rKeTtmmcHI7yewQonybpeU1sa9hZVc0GiP5o9LiA/bgriswbXyczUEZLLu3WvEik6+YqfwZV1iSKLnsHA25Jb6orVLNQu3Q9MGEPChFtxXYvIphpF8+U5VTyjV0Ct/j2vYRbsWR9ERydat6aEw== 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=HTRXl2cWRZky0047w7+iQKSfQa7oPBUafKZ/+HANsT0=; b=UN//QpORJ8dzro7WKFgJpmf4efAQq8Hi4wYLAImOQ3PjBRzQcU8IQNpPoTplpJycZOPP8tqZbZLyV9OTdZ37GTW9sIqtNO7WEjDjan3OoNHlgLY9BrMgQZLw/EwNcxHroYeCowqKjM8MrpUBAepY6/p5Xc+2xFf9VMxca6WkWR7n3aCY7//k6NEpnj119mP5a6gyeXo4x083SvCNXfIoTFYmlmTsVDq+hNd8WkctFE2YLXT8ZshJehV8141WKYua5dD7k+MWUoHeYgXmjGFNyGmv85HGk8JRTsKpS9qG9JAEcsEa06Jlq1Fs1Jcj2dBBHQ8wbzkRslK2u5Kmw6N0fw== 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=HTRXl2cWRZky0047w7+iQKSfQa7oPBUafKZ/+HANsT0=; b=dSL+JcAx0Vp7H0rH9mX0iFxov/9bZ6LU2Z0g6M0G3xaJ/Gd48YprWJO/5pmAYiZQvcMsijfcXZtLRlaUWf0XqtrrD3kD7vaZ9l2Whfo/ciwmT1QN+9Oo18VE7TkC5zFNsiRidVF4mpy8Siypp+8JTnjQ6lg9TKi1MzfMzhhAw5xG17YQYDvZh3hugFUqvP9Un7fbfjR8UL5RpgsGe7q8d5JCGFdRmP/kaZGFcGZbDSpGvP4PQRKsEVlT608TRFZRVRw91s+Pe2vDoQJvTMRqZwJ7bKh7cmSOzVB0raZqkZ0iLOaCyV1R0kiNVDIz24+yny+rYr/sVwG7SvU6B0diTw== Received: from DM4PR12MB5312.namprd12.prod.outlook.com (2603:10b6:5:39d::20) by DM4PR12MB5390.namprd12.prod.outlook.com (2603:10b6:5:39a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.15; Tue, 9 Nov 2021 11:08:47 +0000 Received: from DM4PR12MB5312.namprd12.prod.outlook.com ([fe80::7cf5:9d34:fc6b:b4a4]) by DM4PR12MB5312.namprd12.prod.outlook.com ([fe80::7cf5:9d34:fc6b:b4a4%7]) with mapi id 15.20.4669.016; Tue, 9 Nov 2021 11:08:47 +0000 From: Raslan Darawsheh To: Chengfeng Ye , "david.marchand@redhat.com" , Slava Ovsiienko , Shahaf Shuler , Matan Azrad CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v5] net/mlx5: fix mutex unlock in txpp cleanup Thread-Index: AQHXv1BBDW+kbLBMV0WSiKBA8rphQqv7NYIg Date: Tue, 9 Nov 2021 11:08:47 +0000 Message-ID: References: <20211012100204.5569-1-cyeaa@connect.ust.hk> In-Reply-To: <20211012100204.5569-1-cyeaa@connect.ust.hk> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: connect.ust.hk; dkim=none (message not signed) header.d=none;connect.ust.hk; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 31dcca64-502d-4f68-0ecf-08d9a3714d8d x-ms-traffictypediagnostic: DM4PR12MB5390: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: pjjcN1KU0NBcS22Bm8Po2UQqYquROa0ELyGzXO3C1rdg7S0EbUop6y14hbfFBR5s6nvBLkdSr2F6nrtA9XP2bpvlgij8cHV9nJPPZwYhKIvPo9wsnZS0ZgF+IQ52fPoddRyGq6pnq1nHzySL0iXIoNRVxSH5vY83eJkZilHI4R+3dTiXWviP36Wb6FjiLb5WEES10F5HV5iV3hXuNJGJ7Z2m1EZ7FCaSbDub+LkfjXQcafPftad9GfyIKQXW+HoFo+bb0HhmE4t+pPMkXsL1B6jV7sZpJn2oqyHTdXVliQEICzBDfTQPJsitE26oOgI6MNb122f42ltJhWm1L96frQvYXkHA/fv2vrj3ACWdWP+TJQrVu4yFdOBhMhpbIvs/kHJRcgw5CEmkf6K9skKUGohzTF6BuT3Q0fd8ct8tYGqGW89XDNX8OCM33PGbD9aN9r2DZCC4TROhsRAbXN3RMzybmkvqyCO7t6GM0KN0UUmVBfkGb6gbCPT7TKMkRiGF9Ai10tnPh5pjdT8bfcEECEVdTMRwrIXrPjP3XaLwgk1b5q1BlsstJXZREUgv0bzpMJFVO4D+fcrlyIZbhrYGJwSAuYZea3cY3qktnWAFmJbDvMZiTXCnFmzpuTTK0wrnW+RZ59vy15XFwoem86/5Vfq01/G1WL4ZJDpFoiQ1Db4ucxXKYZ/R+z09yPr947HKN7G+u2kgv7UgBvpVyJWoEA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5312.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(4326008)(71200400001)(6506007)(76116006)(7696005)(9686003)(4744005)(66476007)(38100700002)(55016002)(53546011)(66556008)(64756008)(66946007)(2906002)(6636002)(83380400001)(122000001)(66446008)(54906003)(38070700005)(186003)(86362001)(8676002)(110136005)(33656002)(316002)(508600001)(5660300002)(296002)(8936002)(26005)(52536014); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?AWg3KnVOOoNDNQb+RdJEFRbQ5ZIMM1UHIAAPM5kANk4hKSmMjmEYze+XgYmI?= =?us-ascii?Q?l+fmcy8p45wGpJdkyADBttQGVF5JzdXGLZPbizWNOU9gk8XPTbEMADnSMexI?= =?us-ascii?Q?oG6IZXFtqFcci8uH90TNAuGjQe1Dej3Sk3vrKvXE4g8PMHtIeuPSqN8g3f3o?= =?us-ascii?Q?3V+Bdfl3KKXnGmeqqwsuDOzniblzgLvvzcXCgYRdTkbsYUfoo++tihk8qb2i?= =?us-ascii?Q?pOrq3mEyX0uPEyDbTW/6o0ghAPFGjyF+dx3kNiDrhAJdM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roiXRxBfguCDaU7UiOzQTGKTbmPMtmDOhkHNks?= =?us-ascii?Q?SMEd2arD6UG+5m5dCl8BSVOsXf51fhPDEm9U3moalUDrcG7PVIF0GQtC82eq?= =?us-ascii?Q?lJUVwhjyoJ7Qq1YD6V/t/OX1s/eZ5MG84gLpZNHFhiA6jODx/OG5S8/BF083?= =?us-ascii?Q?MPPzsCVI1aVWSEPJBHjvhJp28u9MUxPVAsb2LsS2FHS/DJPq4waOBZWWsIJR?= =?us-ascii?Q?+jUX1cvoejnvaSsWaSmQV2YyBuvauN3oQjMdZUZB0AeVKD9HxMTg/WGKQclo?= =?us-ascii?Q?Nd/a5rJpJamiULCwLmsM7bZOf4z9RQ5kqnSazOZFpRLIsMUrzAvCBtY8uypK?= =?us-ascii?Q?9aCRCZO8Fu9bIq2zCWkiyxypPO//NQgrQsD3e+obc4Izb39eUbea7fq0f72d?= =?us-ascii?Q?PIhsqDyT9dRfQafOaz8NR+urqG1ovfIXvNCL5eoBewnEb7A4JAj2BgwWhgwU?= =?us-ascii?Q?El+fEZjeeCSx8vctfxPvX2g=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5312.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 31dcca64-502d-4f68-0ecf-08d9a3714d8d X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Nov 2021 11:08:47.6232 (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: 6t03Gbg0YftL0AGwJRfzQG9F2at9aw6V9GB+WtvgSfdYRW9TvugwPU1IWQAFWdWnQskdyruCwBhDO1k9D710bQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5390 Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v5] net/mlx5: fix mutex unlock in txpp cleanup 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 Sender: "stable" Hi, > -----Original Message----- > From: dev On Behalf Of Chengfeng Ye > Sent: Tuesday, October 12, 2021 1:02 PM > To: david.marchand@redhat.com; Slava Ovsiienko > ; Shahaf Shuler ; Matan > Azrad > Cc: dev@dpdk.org; Chengfeng Ye ; > stable@dpdk.org > Subject: [dpdk-dev] [PATCH v5] net/mlx5: fix mutex unlock in txpp cleanup >=20 > The lock sh->txpp.mutex was not correctly released on one path of cleanup > function return, potentially causing the deadlock. >=20 > Fixes: d133f4cdb7 ("net/mlx5: create clock queue for packet pacing") > Cc: stable@dpdk.org >=20 > Signed-off-by: Chengfeng Ye Patch applied to next-net-mlx, Kindest regards Raslan Darawsheh