commit | b7f514af7d6f36bc2f683e04a909c95e4744b95b | [log] [tgz] |
---|---|---|
author | Ben Hutchings <bhutchings@solarflare.com> | Wed Jul 04 22:25:07 2012 +0100 |
committer | Ben Hutchings <bhutchings@solarflare.com> | Tue Jul 17 16:12:34 2012 +0100 |
tree | 3e8919c3f81d3434d5252ede948d992a1a25deb0 | |
parent | d4f2cecce138c34960c467d0ae38a6d4bcd6af7b [diff] |
sfc: Fix interface statistics running backward 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>