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 18B8741D8D for ; Mon, 27 Feb 2023 08:09:11 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 127D540A84; Mon, 27 Feb 2023 08:09:11 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11hn2204.outbound.protection.outlook.com [52.100.172.204]) by mails.dpdk.org (Postfix) with ESMTP id 2F31640A7D for ; Mon, 27 Feb 2023 08:09:09 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hgEJWJ7S6IgPp3z65yUfftqthbRd21T9lzZfIiizQjWFp08eUiT2iSvrLph6Gu/1LjtIkL4gwPYh9WjsiWO0+IcZ1Gira0Lo4JdwGbs/kZxxiq/aJvU7PUxHcLt37xPUPgAnU1VWRt+vmnZKFizKgespmf0WivEH036ZyfdR1Q4+MTWvsuCviXPAaDWjwDxrphUM4A0Pz9kJ4EIvKfRNDa6alPqnvm97OsB46zPQn11MUCpJ+ucX5qyyguVesXkj3IebJihPcI69qEidgC90NvtyQx7YTQAV/l4Fnx5cvSsORImNWZS9PaGByohMxbjMPz0gSeiLvfZm/LYfDaJBSw== 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=WWkzgFS7LLleK2xXwKmracJ5mb13B77shq5voZIUJqc=; b=RyApm006A5K+wOmCaoOikTNMpcztUa2jfLxMrfDU2PFIpeO12ro+rsxEckoFSUv3hb96UTpVRo3NWfyD4M/sjKPo653kdXn3zObxksI0knVHR4FjWHuyVPC5SLvSlpuqd8+eT2VKmaK77obzMCldEgk6tYcYER/Eb4wJz7syLbWC9igrr18VhAlq7KDj+4n/fxNCLtCTziVpiSh612kEoXN1DwQXtyfw/8upja2uckoF6W3ojWd6qO33AaRVmAmj98OFUbjWlu4+McRjQITrDlppHO6ZpjKVUYFwugLl/gDnDlcrJjIwCdM4EIL0irArWyX+BlXo4B2AWSfbcxuDOA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=redhat.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); 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=WWkzgFS7LLleK2xXwKmracJ5mb13B77shq5voZIUJqc=; b=ELJz0+8dr9yWh8v4FyfFe3zMH284lg2A3FXj4ilTdiZejecDy1iH4BNng5pUJIrgOPtvw4WigXKRGWqi6f64wgaBFTvDuBFSMeL9fXN7lzwySPHvA2rVtyoRdJeRemGoNWSLm55iCM0F82SHgRhnLPRkmsP/7exNsUMQDZ16lOkvN8OxnYOZNQbRLpzJuCZgT/7l2ausfOQ+w57fG3Qsh2lFWgr12vi7cPuoDsoWI6Hy/U5ZONzJnp55n1uGxyd14Pm+FifieT4h7SQv8Bak+1P+DFnQLC0J9OIjGabAyopvjVQBtlrWvkIjFCffhhAVfu/gvwqY40zEaDcyl8Hf5Q== Received: from BN9PR03CA0656.namprd03.prod.outlook.com (2603:10b6:408:13b::31) by PH7PR12MB7235.namprd12.prod.outlook.com (2603:10b6:510:206::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.29; Mon, 27 Feb 2023 07:09:06 +0000 Received: from BN8NAM11FT030.eop-nam11.prod.protection.outlook.com (2603:10b6:408:13b:cafe::dc) by BN9PR03CA0656.outlook.office365.com (2603:10b6:408:13b::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.29 via Frontend Transport; Mon, 27 Feb 2023 07:09:06 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by BN8NAM11FT030.mail.protection.outlook.com (10.13.177.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.14 via Frontend Transport; Mon, 27 Feb 2023 07:09:06 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Sun, 26 Feb 2023 23:08:56 -0800 Received: from nvidia.com (10.126.230.37) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Sun, 26 Feb 2023 23:08:53 -0800 From: Xueming Li To: David Marchand CC: Fan Zhang , Nithin Dabilpuram , dpdk stable Subject: patch 'net/cnxk: fix deadlock in security session creation' has been queued to stable release 22.11.2 Date: Mon, 27 Feb 2023 14:59:39 +0800 Message-ID: <20230227070107.15664-71-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230227070107.15664-1-xuemingl@nvidia.com> References: <20230227062349.13764-1-xuemingl@nvidia.com> <20230227070107.15664-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.37] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT030:EE_|PH7PR12MB7235:EE_ X-MS-Office365-Filtering-Correlation-Id: e1478f34-b517-4997-6b49-08db189183b7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YmcYKzcNm+zEApEFM/kfgDhdN0liZwj97cdEopctmtRcGPl1PyhlLW1LhbXcYPzrEoJo8wvH5Hdp4uwtwgB0evu07kng1K3RpYnECEgz9A4BNIYG/rmyGK+Qec1EG4aH9tYPbh8o7fACPA04ARdNVUIQafUzglQM1sgCEyFEKhLVJ8s2Nu2Bfzq7GGJBvk80JqSVl2FURkp9jT1QskDa6TLJTdq7KfZACLOWyhZ96YuD4v7xidyBlWYBCCMfbX86r2I79ey/trvBPyCcBWt/k60GY92YOZQ5tr5T5nnOX9J5DjxTonil9uhnEqGBP1zyNhbrmPUeK5PtUwcSvF/rHnPfLzxIqlpm5MMJ1okrwv28XMvlbdThdgw32ccJP15y6uGVFqXG8I5tVvV2nDvMXzuQb0wI0lKwc8tTo0/sTF1G1LljAl5GH9SHoYUjAFJy6zw5p6vQ6NJpuWHjyapKMl7ZzLqxrKRQ7GRpC3RZtimn6Y7BG9xtQGGN60Zm1UwYviObptxK+RUkaSipXif8eWNW9BQ0ENbJ9Und0RF9OYqKhjv3KfkEo1QKsobSHLaf7OliwvFt1mCZG73pPnDeTiBxolY8RHyttA9JBFeZ4be9+kxHM211AJG+h/owLRaq5BeELM/SKlog00eeDkZxX8uiRmg+2yX+PN2Xy33WXZ7w/vN0AH5/jg56TalRBygtle9oEssgqchEE+nelZBBvsnYdurh6qMU9r1d+OWo4s0pTRKbFj2Zv2v/novAbpDJES3tnxDtVDs+b6aauunkrjfuCR5VkcmkSf4fSafK3g/0IM/98ZQMga4R5geu6fak92B2NP79EWbQk4KbUl511Q== X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230025)(4636009)(396003)(376002)(346002)(39860400002)(136003)(451199018)(5400799012)(40470700004)(36840700001)(46966006)(356005)(336012)(2616005)(86362001)(316002)(966005)(40480700001)(70586007)(70206006)(36756003)(6666004)(55016003)(478600001)(40460700003)(7696005)(54906003)(41300700001)(6916009)(8676002)(53546011)(1076003)(6286002)(16526019)(26005)(186003)(4326008)(34020700004)(82740400003)(36860700001)(15650500001)(2906002)(8936002)(426003)(47076005)(7636003)(83380400001)(5660300002)(82310400005)(12100799018); DIR:OUT; SFP:1501; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2023 07:09:06.0186 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e1478f34-b517-4997-6b49-08db189183b7 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT030.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB7235 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 Hi, FYI, your patch has been queued to stable release 22.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 03/01/23. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://git.dpdk.org/dpdk-stable/log/?h=22.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=22.11-staging&id=f40c4f3e0b781597345143a87e1bc79b7b8a5362 Thanks. Xueming Li --- >From f40c4f3e0b781597345143a87e1bc79b7b8a5362 Mon Sep 17 00:00:00 2001 From: David Marchand Date: Thu, 5 Jan 2023 14:57:18 +0100 Subject: [PATCH] net/cnxk: fix deadlock in security session creation Cc: Xueming Li [ upstream commit 649aa9d1d6bb9b4773c1d26f13ee48ed5ad7bbde ] Releasing the lock was missing in this branch. Fixes: 4440eb88ddfc ("net/cnxk: use full context IPsec structures") Signed-off-by: David Marchand Acked-by: Fan Zhang Acked-by: Nithin Dabilpuram --- drivers/net/cnxk/cn9k_ethdev_sec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/cnxk/cn9k_ethdev_sec.c b/drivers/net/cnxk/cn9k_ethdev_sec.c index 67966a4e49..327f221e38 100644 --- a/drivers/net/cnxk/cn9k_ethdev_sec.c +++ b/drivers/net/cnxk/cn9k_ethdev_sec.c @@ -556,6 +556,7 @@ cn9k_eth_sec_session_create(void *device, if (!dev->outb.lf_base) { plt_err("Could not allocate security session private data"); + rte_spinlock_unlock(lock); return -ENOMEM; } -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-02-27 14:08:43.200134700 +0800 +++ 0072-net-cnxk-fix-deadlock-in-security-session-creation.patch 2023-02-27 14:08:40.799237000 +0800 @@ -1 +1 @@ -From 649aa9d1d6bb9b4773c1d26f13ee48ed5ad7bbde Mon Sep 17 00:00:00 2001 +From f40c4f3e0b781597345143a87e1bc79b7b8a5362 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 649aa9d1d6bb9b4773c1d26f13ee48ed5ad7bbde ] @@ -9 +11,0 @@ -Cc: stable@dpdk.org