[dpdk-dev] [PATCH v1] lib/metrics: add check for invalid metric keys

Thomas Monjalon thomas at monjalon.net
Thu Jul 26 20:11:00 CEST 2018


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 at 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 <remy.horton at intel.com>
> 
> Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>

Applied, thanks




More information about the dev mailing list