From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] app/test: fix failure on mempool autotest retry Date: Thu, 26 Apr 2018 18:17:02 +0200 Message-ID: <3555807.DMRGan68dS@xps> References: <1524675637-3037-1-git-send-email-arybchenko@solarflare.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Olivier MATZ , stable@dpdk.org To: Andrew Rybchenko Return-path: In-Reply-To: <1524675637-3037-1-git-send-email-arybchenko@solarflare.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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