[dpdk-dev] [PATCH v1] lib/bitratestats: fix integer roundoff

Thomas Monjalon thomas at monjalon.net
Fri Apr 21 01:09:44 CEST 2017


19/04/2017 15:26, Remy Horton:
> In the absence of traffic, it is possible for the bitrate moving average
> to get stuck at a non-zero value, due to the calculated delta being less
> than what an integer can represent.
> 
> Fixes: 2ad7ba9a6567 ("bitrate: add bitrate statistics library")
> 
> Signed-off-by: Remy Horton <remy.horton at intel.com>

Applied, thanks

PS: please not that the title of this patch does not match
the title of the fixed patch.
Changed to "bitrate: fix integer roundoff"



More information about the dev mailing list