From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 12E00A495; Fri, 12 Jan 2018 15:34:32 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A077020D61; Fri, 12 Jan 2018 09:34:31 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Fri, 12 Jan 2018 09:34:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=RYJNKPYs4N8uvQPOe5sPEhqgW5 MgJOyenntogS4Jdzo=; b=f9HOlMVsm0ZrbvttyeOPDMdA1Pjn93C1FSLWXtjM0X THpbbSxTfPcphHkHBWgj7exvMecD06eZeIZN2CJ8LVe0wtiMar4dZEkDS17bwqqQ 5uf0q0kO1ZQq0PYJj37Orjqs/7NscbWykz5tgckN+fgdkJioHHtrxO0+ipaPhFs1 Q= 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-sender:x-me-sender:x-sasl-enc; s=fm1; bh=RYJNKP Ys4N8uvQPOe5sPEhqgW5MgJOyenntogS4Jdzo=; b=dPt7QwxJFPubyfJCnURzZf qOZUIidypPdntZZsb9G/EjydqdAUrcc8nZL9hH9HA8UqFR8sWPSpPv+DNYwJBeRW xMhXyOVAsPjwoLAo6YKwNgl8EvSoeiHNktFn11CWJJOrEpncg/s/pUK3tEdAPnnH XeSswJ+xRsH1LTp8hYhMuS0WBMF/spupvhxK+6Rlu2M8xnIE9CnUwiUrIKCe34QG be+vZC/8bQvNqJiaUpakXSL0VXQJh3G/AD6hcHnjNBehjlKOm4LVVd7tUVVYv/n7 rtbqNvvbeRTZVq5apcSDS9zQH2Bi02vbwyQih0S6gj2tm1gqDomD2f0S5ujF3GqQ == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 4B4547E4C6; Fri, 12 Jan 2018 09:34:31 -0500 (EST) From: Thomas Monjalon To: Anatoly Burakov Cc: dev@dpdk.org, stable@dpdk.org Date: Fri, 12 Jan 2018 15:34:02 +0100 Message-ID: <2335341.MnR6ifWbT9@xps> In-Reply-To: <54078c957057cfc4bedc2146cf8961704b473d8f.1513865940.git.anatoly.burakov@intel.com> References: <54078c957057cfc4bedc2146cf8961704b473d8f.1513865940.git.anatoly.burakov@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] eal: fix memory leak in memzone when no room in config X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jan 2018 14:34:32 -0000 21/12/2017 19:07, Anatoly Burakov: > We check if there's space in config after we allocated the memzone, > but if there isn't, we never free it back. This patch adds memzone > free if there's no room in memzone config. > > Fixes: ff909fe21f0a ("mem: introduce memzone freeing") > Cc: sergio.gonzalez.monroy@intel.com > Cc: stable@dpdk.org > Signed-off-by: Anatoly Burakov Applied, thanks