On 7/12/2018 11:49 AM, Remy Horton wrote: > If rte_stats_bitrate_reg() or rte_stats_bitrate_calc() are > passed NULL as the parameter for the stats structure, the > result is a crash. Fixed by adding a sanity check that makes > sure the passed-in pointer is not NULL. > > Fixes: 2ad7ba9a6567 ("bitrate: add bitrate statistics library") > > Signed-off-by: Remy Horton <remy.hor...@intel.com>
Acked-by: Ferruh Yigit <ferruh.yi...@intel.com>