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 2D624A0C4C; Tue, 21 Sep 2021 10:01:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AE5FD40DF7; Tue, 21 Sep 2021 10:01:52 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mails.dpdk.org (Postfix) with ESMTP id C736740683; Tue, 21 Sep 2021 10:01:51 +0200 (CEST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 41E175C0094; Tue, 21 Sep 2021 04:01:51 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 21 Sep 2021 04:01:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= 28qEteksQInjSAHwLC7A11JMPWEctLyQxwE4IFnb6Uc=; b=YapgFO3db4RMshGr SC8Jdj+2kS2UZjJk4fO2SnD6wzUDNO6m9IddOy17k2Th0VvT1tNsGIhoPqdbpbaA iSwgrn1mJv0eN9jeAwXsk7e1FZQRc9KKq98pJrdRyA7dOuvb+wdGtQvre9A2TuTs PRvX0XWUu3g21Ck8wc/rOGWMoH023R4OodGjztCyWLgrqZuKU7j7MODScIlM+wu7 RV7Y4+NCI1vDJ8plKaiGZmIMLjsv2v26sSCfa3++EAPVIziNO4ExpLa6nlhsYxHn 1aYnzjFdi5jynBuiMcBNHCAVoVIeT8PiZfgdp2g+7WUMfYts1ZLKink7lYg7KJud JzPAYA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=28qEteksQInjSAHwLC7A11JMPWEctLyQxwE4IFnb6 Uc=; b=ZEgmvgXb2sZHqKuUz2gBMWndjesV6q7k+U5sgecw0T3mZgO0PUfjXBKCN aOpNuyMc+16UQ06K5Gb/wtpRHDxpVwCKO04giJi6wv9Re94ebpXuo0J4CUIDkFtI V2nWX6Fy2A2g5W/Ha9c9JSzz6XCMxKzHEFAOtnmN/T10lhevHj0THlS55a0G2X0Z Il+LK+DWu05/pDzjZ2KFnLmT2imsKl9u2VYP5AImYtDeGBXJP5rs7wa8KfjtMLnZ +dZwp7D0GXWFc/6+2jgc7XrZi2zZu9kOOdcant05PPSI0yS+cqk34Yaj5ufN21Gj uyClnzn8MN1OG/nMekJZviK8mTQiw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeifedguddviecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej ueeiiedvffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 21 Sep 2021 04:01:50 -0400 (EDT) From: Thomas Monjalon To: Dmitry Kozlyuk Cc: dev@dpdk.org, andreyv@nvidia.com, stable@dpdk.org, Viacheslav Ovsiienko , Matan Azrad Date: Tue, 21 Sep 2021 10:01:47 +0200 Message-ID: <2196003.8OPTM4tJ4L@thomas> In-Reply-To: <20210901080752.3639647-1-dkozlyuk@nvidia.com> References: <20210901080752.3639647-1-dkozlyuk@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix shared RSS destruction 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 Sender: "dev" 01/09/2021 10:07, Dmitry Kozlyuk: > Shared RSS resources were released before checking that the shared RSS > has no more references. If it had, the destruction was aborted, leaving > the shared RSS in an invalid state where it could no longer be used. > Move reference counter check before resource release. > > Fixes: d2046c09aa64 ("net/mlx5: support shared action for RSS") > Cc: andreyv@nvidia.com > Cc: stable@dpdk.org > > Signed-off-by: Dmitry Kozlyuk > Acked-by: Viacheslav Ovsiienko Applied in next-net-mlx, thanks.