From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 21AC08DED; Thu, 26 Apr 2018 18:17:05 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 856BB21AF9; Thu, 26 Apr 2018 12:17:04 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 26 Apr 2018 12:17:04 -0400 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=OSk6WnYTwxkO37mt2r+1s1aw9h YGSNX4O+D6pDAD2Gw=; b=l9U7gLsfj/OgFQtsoZxey1nq1HjxxOUwMgEK6GZGBa GkbYFZEqzj0jdI8OU9zfG7Q3xgdScMzSJbIYENxSq6ybt2H0YxZSZaVdtBpj6Hh1 ctU7iJTqH/8Abnai2rObfzg7kWjxk4smhwTT1MVL7BNz2iroifNOu8iWNv3f2qwj 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=fm2; bh=OSk6Wn YTwxkO37mt2r+1s1aw9hYGSNX4O+D6pDAD2Gw=; b=PxiWsX9wEWhB/2lFN3D/na y2t8U5EEMzfVdmOlPATMNmWCWZr/qcyv/7V7TcZhR8Zxe7QTs5qx12gwu7S1zH22 QoV7nxSl4CvI8KouKvdh7SM8MoV00n51O9OQFvhWN6iDv2K7wDlT0NeAxMPRT4qD Vt+BNKuYmPp+BJISqBICg7hOfHHnV69bfoB1gDji6kzx5LkwkmoF4XF/ZzZvsY2I b0UQVlrnouyG2Y656ls37CErKj58702+WSgoc0TuqlTBi02ZA01m1StVDOnY0nLN JLtnX3x0BlqYMCfOz1pHRAcvlgqGK3gs9gqXCQTplE4QrvRYJTgLnt1URup6rCMg == 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 C05B2E47A0; Thu, 26 Apr 2018 12:17:03 -0400 (EDT) From: Thomas Monjalon To: Andrew Rybchenko Cc: dev@dpdk.org, Olivier MATZ , stable@dpdk.org Date: Thu, 26 Apr 2018 18:17:02 +0200 Message-ID: <3555807.DMRGan68dS@xps> In-Reply-To: <1524675637-3037-1-git-send-email-arybchenko@solarflare.com> References: <1524675637-3037-1-git-send-email-arybchenko@solarflare.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] app/test: fix failure on mempool autotest retry X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Apr 2018 16:17:05 -0000 25/04/2018 19:00, Andrew Rybchenko: > Single producer / single consumer mempool handle is stored in static > variable and the mempool allocated if stored value is NULL. > If the mempool is freed, NULL should be restored to make sure that > the mempool is allocated once again next time when the test is run. > > Fixes: 8ef772aee072 ("app/test: rework mempool test") > Cc: stable@dpdk.org > > Signed-off-by: Andrew Rybchenko Applied, thanks