[dpdk-stable] [PATCH v2] lib/bitratestats: fix unchecked return value

Mcnamara, John john.mcnamara at intel.com
Thu Apr 18 11:21:20 CEST 2019



> -----Original Message-----
> From: stable [mailto:stable-bounces at dpdk.org] On Behalf Of Andrius Sirvys
> Sent: Thursday, April 18, 2019 9:52 AM
> To: dev at dpdk.org
> Cc: stable at dpdk.org; Sirvys, Andrius <andrius.sirvys at intel.com>;
> remy.horton at intel.com
> Subject: [dpdk-stable] [PATCH v2] lib/bitratestats: fix unchecked return
> value
> 
> Checking the return value of rte_metrics_update_values, if failed
> returning that value.
> Coverity had picked up that that the return value wasn't being checked.
> 
> Coverity issue: 336863
> Fixes: 2ad7ba9a6567 ("bitrate: add bitrate statistics library")
> Cc: remy.horton at intel.com
> 
> Signed-off-by: Andrius Sirvys <andrius.sirvys at intel.com>
> Acked-by: Rami Rosen <ramirose at gmail.com>


Acked-by: John McNamara <john.mcnamara at intel.com>




More information about the stable mailing list