From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id B1C9C1B1B6 for ; Wed, 24 Jan 2018 16:41:27 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id C2F5D22702; Wed, 24 Jan 2018 10:41:26 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 24 Jan 2018 10:41:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=nP/Sb+AEvtzWsAa36 jMwavmoFdlgRHzK+xcPm8fdmUg=; b=ImVO2WN+i6z3g1J4VklEP9FWJJ1YelQm1 xC1LOz10GLTRKF0gwjGsmewM6grF2or6igXRyZ1/KvK5GO7KKKdJcZxd+rKaQMBt Ikjtnx4qncdEQO0OEaQ2e+qQR+pkHjoIgWTbOkAQwIggswZIMUgkUaVBA7hXo6Mw I896igxiHrSXB+wn7UsjLdYWygR/z0swGTch8HyM9cLzee+SwSn+Ta8nI2KAmjTp spda/d9OEjUPvtGOd5XYrD3aArpWg4SFLPhL/kpGkbxozjXQZpEOOMANIALzWPHH xVyjA7XvogiDCzrDu3n7iuoDwwLtoh5yICk8WDr+tBuEvDU7deBkg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=nP/Sb+AEvtzWsAa36jMwavmoFdlgRHzK+xcPm8fdmUg=; b=WhFXX7b8 mENet33UjXW23pprvWhoSIjLGeg3XWSaQtxsNXSF0mhhMQLlKmTJDWKT11yWnchV pxMRyga3hT839hVUOfjO03wnbvkkPAAIyQo0M9KIsWM6EQmIPfpepZmakuhLxfgi NJVZFe4HRJOAj5xyhSrU2YwOVcttP7It2y5LfW8ocdgcfmAxz3PQ1Vpf4oB491+W HQLkFJnUR19flhci/fOcIn7HDSLiGp5Ne0i/Oq76VI/jqAUK/OZopbjSNjAoTnhK kS1rv4bLUrfajgx22KfDhHulS/89gv681nRypEChZNOY+mu57xZKoDu1C3N39VvG DOXDTwsGEC1yyg== X-ME-Sender: Received: from localhost.localdomain (unknown [115.150.27.206]) by mail.messagingengine.com (Postfix) with ESMTPA id 4CACE7E354; Wed, 24 Jan 2018 10:41:23 -0500 (EST) From: Yuanhan Liu To: Phil Yang Cc: Jianbo Liu , Anatoly Burakov , dpdk stable Date: Wed, 24 Jan 2018 23:33:12 +0800 Message-Id: <1516808026-25523-124-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> References: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'test/memzone: fix NULL freeing' has been queued to LTS release 17.11.1 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: Wed, 24 Jan 2018 15:41:27 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 01/26/18. So please shout if anyone has objections. Thanks. --yliu --- >>From 0d4f00ad24ebe525605190780a0c24182e1c5c68 Mon Sep 17 00:00:00 2001 From: Phil Yang Date: Mon, 15 Jan 2018 13:43:32 +0800 Subject: [PATCH] test/memzone: fix NULL freeing [ upstream commit a7b5b4f1b3febec68dc7b8ba339f4b222750952b ] No need to free a NULL memzone. It will cause test termination. Fixes: 71330483a193 ("test/memzone: fix memory leak") Signed-off-by: Phil Yang Acked-by: Jianbo Liu Acked-by: Anatoly Burakov --- test/test/test_memzone.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/test/test_memzone.c b/test/test/test_memzone.c index 49b6b68..f734754 100644 --- a/test/test/test_memzone.c +++ b/test/test/test_memzone.c @@ -280,10 +280,6 @@ test_memzone_reserve_flags(void) printf("MEMZONE FLAG 2MB\n"); return -1; } - if (rte_memzone_free(mz)) { - printf("Fail memzone free\n"); - return -1; - } } if (hugepage_2MB_avail && hugepage_1GB_avail) { -- 2.7.4