From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v1] lib/metrics: add check for invalid metric keys Date: Thu, 26 Jul 2018 20:11:00 +0200 Message-ID: <3135038.1Nyv25uGYd@xps> References: <20180706132119.9013-1-remy.horton@intel.com> <402f4c38-6ed2-e279-b6dc-e382b0efa250@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Ferruh Yigit To: Remy Horton Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 34F22288C for ; Thu, 26 Jul 2018 20:11:06 +0200 (CEST) In-Reply-To: <402f4c38-6ed2-e279-b6dc-e382b0efa250@intel.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" Remy, You are not new to DPDK. Please pay attention to details: - subject does not start with lib/ - fixes of old commits must have Cc: stable@dpdk.org 20/07/2018 17:31, Ferruh Yigit: > On 7/6/2018 2:21 PM, Remy Horton wrote: > > This patchset adds a check to rte_metrics_update_values() > > that prevents the updating of metrics when presented with > > an invalid metric key. Previously, doing the latter could > > result in a crash. > > > > Fixes: 349950ddb9c5 ("metrics: add information metrics library") > > > > Signed-off-by: Remy Horton > > Acked-by: Ferruh Yigit Applied, thanks