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 B13EBA0A0C; Thu, 22 Jul 2021 15:50:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9201240E78; Thu, 22 Jul 2021 15:50:17 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mails.dpdk.org (Postfix) with ESMTP id 8EC6040040; Thu, 22 Jul 2021 15:50:15 +0200 (CEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 482C55C00AB; Thu, 22 Jul 2021 09:50:14 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 22 Jul 2021 09:50:14 -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=fm1; bh= m1KumqnLppIIcRBRl9Sj/LRY1Vq3h2Ac9rod7i/RkRU=; b=RAH/1j1aD3TRzCIf FBGPjx6F+2B/yAlJvJHyoJwvndWP1zlLSZhQE5KtPTlokkE/Ysge/mScyG0/jmRP 2pJh7qM4c9ChRN637OZUuvmrzuX2+BWH9RX/CHDKWcmxV8IW8iJcS871UIBCltYb T+l3kry5gzTcMGrtVE9VGmXpNVaFGRPHtRrxd3Mm+1dEnmo6ftEjefEjkyuV0+iR YC7jh3rALt2pwQAxjizqAsOjplUOqCo0iZX6fK+DLzoiU2S556/zGcGtbaE6Dtz5 Ziq6Z9Q4sVGvMM67le4/MqRgGJG9o3146iipjTdJa/5EuAO+H5wXphgcb8WZayWE RvEsDg== 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=m1KumqnLppIIcRBRl9Sj/LRY1Vq3h2Ac9rod7i/Rk RU=; b=BvTrPAaHLNO7sbWAB0pmIwbjI0Kq6tA9xCHCFsRZfumNOxOzCkQM/Mgaw P5kG3CLAKyCB0XQGE81ufITztJb/T5kM6Fd1+vzyb5MuaWY8q091iimJF+f+5I05 NzbwFFtz2yTmp0Z9CjaiDIoa3bAL0R6hRMoS+6MPIRXsboT2K55oSF9vIPoQ2Sfu nZnD991exwvPfChyU1AJg3vDXIJSDWZAfWn8ni7zlwRFqhmb3B+bF+dPjZmpBFjA QylfN8sqjXbvPWAcQy/tY2sABwaOjFGVKCm9v7F2Cd9LBgrnZ9sQirHBxnkWWcv9 sHvOOuqFly0a7Tx9v3oU/BiPFhyxQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrfeeigdeijecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 22 Jul 2021 09:50:13 -0400 (EDT) From: Thomas Monjalon To: Dmitry Kozlyuk Cc: dev@dpdk.org, stable@dpdk.org, Matan Azrad , Shahaf Shuler , Viacheslav Ovsiienko Date: Thu, 22 Jul 2021 15:50:30 +0200 Message-ID: <1838295.B2QRqMvbPs@thomas> In-Reply-To: <20210720075335.2742271-1-dkozlyuk@nvidia.com> References: <20210720075335.2742271-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 invalid Rx/Tx queue checks 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" 20/07/2021 09:53, Dmitry Kozlyuk: > When device configuration was interrupted by a signal, > mlx5_rxq/txq_release() could access yet unitinialized array > and crash the application. Add checks whether queue array > is initialized. > > Fixes: a1366b1a2be3 ("net/mlx5: add reference counter on DPDK Rx queues") > Fixes: 6e78005a9b30 ("net/mlx5: add reference counter on DPDK Tx queues") > Cc: stable@dpdk.org > > Signed-off-by: Dmitry Kozlyuk > Acked-by: Matan Azrad Applied, thanks. PS: no need fo "invalid" word after "fix".