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 BAE312D13 for ; Thu, 1 Feb 2018 10:48:17 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 68A332076C; Thu, 1 Feb 2018 04:48:17 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 01 Feb 2018 04:48:17 -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=fm2; bh=RSSsScyDIdG0J0nCL JxbLRld68+fVWrq6eK54xcmRR8=; b=Wxd+hhbpy1OT1zW5yvEY3jGSJ+sikl4qj LMVbGRX89HHUgBbmmNyWghoWMwde3af5R8HoeAiKngzO/tQb3HynxNZp7y7YTADh WWVyaQRlELp0yEz9MGOgNP0tHTwl2N8w6r9wvObPZXaYsL2G221IezF+sKiC5rYs HUR6ngLbTnyjJu0yvRI8X/7VFKbbnF3ErjGpIt+J0UgS+HjJDmuUZvi6pWp3jv5Q oTv9Zfy1BgbOzNrr4pfP4uUDX6pFc/OjSnb0qKMY0F63Ny3FqDjoIolsJpEIF9yg xRos0Et4ZJ0+7vvwFI1nkR9btIGr2jf/D1ctlPssKcoVSvBlrM6Qw== 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=RSSsScyDIdG0J0nCLJxbLRld68+fVWrq6eK54xcmRR8=; b=OABRzKPG bB45Wn7qJ09IISAjXoouVv/LC1QgPihZ8s3mYEZ7+h/qj/l6Vu2dWyOoBdoPcVhg V8JOc/yWTU2q+OHo7CQkBdZXVsoq2orj2+Odpr0KR02J8M3NzBt3+EfcADERIjyR C1Rdb9vMTK3wOOA9UFKzfzcGu0AsAvyLVf3vnLjzwoVTIK5qt0OUJxMWLUHJNc4+ 99q+o3PFjEQHnBthdrUWmjs9B7/+GNbGPIruJxucvLdSYVqTP0h3EBljE5dusStI vfNuOcyktLjVCZUdb6tSu/LQlx6U39e1hJFsnNWh2/XiTiPG7BEY3jHZN+ei/Uam I9x5HqlrQzIFYw== X-ME-Sender: Received: from yliu-mob.mtl.com (unknown [115.150.27.200]) by mail.messagingengine.com (Postfix) with ESMTPA id E003B240B6; Thu, 1 Feb 2018 04:48:14 -0500 (EST) From: Yuanhan Liu To: Ivan Malov Cc: Andrew Rybchenko , Ferruh Yigit , Olivier Matz , dpdk stable Date: Thu, 1 Feb 2018 17:47:20 +0800 Message-Id: <1517478479-12417-6-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517478479-12417-1-git-send-email-yliu@fridaylinux.org> References: <1517478479-12417-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'log: fix memory leak in regexp level set' 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: Thu, 01 Feb 2018 09:48:17 -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 02/03/18. So please shout if anyone has objections. Thanks. --yliu --- >>From 7b1dff51501017d9baacc674cd9cb68313938db8 Mon Sep 17 00:00:00 2001 From: Ivan Malov Date: Sun, 21 Jan 2018 17:05:10 +0000 Subject: [PATCH] log: fix memory leak in regexp level set [ upstream commit 01aa0d95c82163e72e69ac90b3c8cfa15728ce61 ] Fixes: a5279180f510 ("eal: change several log levels matching a regexp") Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko Reviewed-by: Ferruh Yigit Acked-by: Olivier Matz --- lib/librte_eal/common/eal_common_log.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/librte_eal/common/eal_common_log.c b/lib/librte_eal/common/eal_common_log.c index e894b75..4b2409a 100644 --- a/lib/librte_eal/common/eal_common_log.c +++ b/lib/librte_eal/common/eal_common_log.c @@ -139,6 +139,8 @@ rte_log_set_level_regexp(const char *pattern, uint32_t level) rte_logs.dynamic_types[i].loglevel = level; } + regfree(&r); + return 0; } -- 2.7.4