| commit | cae0633872fc8b0c34930dd2862856563bce58ec | [log] [tgz] |
|---|---|---|
| author | Eran Ben Elisha <eranbe@mellanox.com> | Tue May 05 17:07:11 2015 +0300 |
| committer | David S. Miller <davem@davemloft.net> | Tue May 05 19:39:12 2015 -0400 |
| tree | a618dd534721f5f7539a4c14facdd714752589e7 | |
| parent | 7aab5159fa0100ee3f80d1b0f55cd7e9b5823270 [diff] |
net/mlx4_en: Fix off-by-one in counters manipulation
This caused the en_stats_adder helper to accumulate a field which is
not related to the counter, fix that.
Fixes: a3333b35da16 ('net/mlx4_en: Moderate ethtool callback to show [..]')
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>