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 6D38CA0C4C for ; Wed, 22 Sep 2021 21:19:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5F91741212; Wed, 22 Sep 2021 21:19:39 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id D10D1411A8; Wed, 22 Sep 2021 21:19:36 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 5C03B5C015E; Wed, 22 Sep 2021 15:19:36 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 22 Sep 2021 15:19:36 -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= Ekl+Wvf1E9Jpn5FLri65MWeuxjvzySWE2q3EkhHn+7Q=; b=k4Q3YHZtH8HXeFD6 HrA4wJO2F60ZbhIu0ht8HlvRd/Ph+KYwdK4ekHyTpP1S4SZ1L4zYRga/IonbImuh f/6On8PSO/r9ESBrr2UOLAI75Wg/MqnlQohfdN8f6FycV/HyITpDfIw8fbKdISEg M/jKd1iFl3BqucJmS96R0mlIvz9A+bVFG8Ohe+nBNLRVYJ2w751rMp8HukLt+ZGz 9nFlmFlBN/p+9mIHIHvKQa51PnTN2IRyjdXXuzKTGKfdVedhprYh1d5zi25sZAtG VuF/pDrGgaZ4hK26YXSpNA4/N9djzteWdLxYgthEz1cqKWpxykGaceoaxMla+u9T R4dCyw== 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=Ekl+Wvf1E9Jpn5FLri65MWeuxjvzySWE2q3EkhHn+ 7Q=; b=EGJsypars4Zi0sGinfnRP9otEnwfRI/LYTrEcK1wpqfQk76GR+G81Q3gz txUBqSDAPEI89kCvI4bJazUmYKi3XFl50BfFZhYKZ+9aTxW8HTf80VeEzHwb0Nfx Gaz18Pwy07SCUN5d/OCqqvOMoB3JxZT1Uqj8+W2SpXXO2J4O5ZbfZHiOgFY02sXn pG3qgGOCdIgrYhLEkKBGUIXkxSMeoiDNyOIG4dB753TDl/ybRcbC9W+5xRs2LJ/D R3YMy/VQ1PllfFDr88JuTQdNxyrK5nOD0XoHb+IcyBDUs+pJxbWmgW3hP+ICW4/1 eBSvm62rN9WtOcf21hnQISnzbp1nw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeijedgudefhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej ueeiiedvffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 22 Sep 2021 15:19:35 -0400 (EDT) From: Thomas Monjalon To: Michael Baum Cc: "dev@dpdk.org" , stable@dpdk.org, Matan Azrad , "stable@dpdk.org" , Ori Kam Date: Wed, 22 Sep 2021 21:19:34 +0200 Message-ID: <4309132.uoP6ugIP2f@thomas> In-Reply-To: References: <20210831203838.3411249-1-michaelba@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [PATCH] regex/mlx5: fix RegEx probing error flow 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" 01/09/2021 10:11, Ori Kam: > > From: Michael Baum > > > > In RegEx device probing, there is register read trying after context device > > creation. > > > > When the reading fails, the context device was not freed what caused a > > memory leak. > > > > Free it. > > > > Fixes: f324162e8e77 ("regex/mlx5: support combined rule file") > > Cc: stable@dpdk.org > > > > Signed-off-by: Michael Baum > > Thanks, > Acked-by: Ori Kam Applied, thanks. Title changed to: regex/mlx5: fix leak after probing failure