sfc: Fix interface statistics running backward
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 4 Jul 2012 21:25:07 +0000 (22:25 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Tue, 17 Jul 2012 15:12:34 +0000 (16:12 +0100)
Some interface statistics are computed in such a way that they can
sometimes decrease (and even underflow).  Since the computed value
will never be greater than the true value, we fix this by only storing
the computed value when it increases.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>

No differences found