examples/qos_meter: check flow configuration error
authorSlawomir Mrozowicz <slawomirx.mrozowicz@intel.com>
Fri, 13 May 2016 08:35:07 +0000 (10:35 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 16 May 2016 16:49:12 +0000 (18:49 +0200)
commite752649c5b558daa2fb3d19d49664a79a6c3133c
tree02b47899412a9745003d947f1277f794f49cf0b8
parentd52b5e735aa396600578f6e614bccb0cada99184
examples/qos_meter: check flow configuration error

Calling rte_meter_srtcm_config without checking return value.

Coverity issue: 30693
Fixes: e6541fdec8b2 ("meter: initial import")

Signed-off-by: Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
examples/qos_meter/main.c
examples/qos_meter/main.h