diff options
author | Andrew Lunn <andrew@lunn.ch> | 2019-02-28 18:14:03 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-28 21:53:02 +0100 |
commit | 6e46e2d821bb22b285ae8187959096b65d063b0d (patch) | |
tree | 0530a4a0668a3c377d4f4ed5651ad91db52d909f /mm/mm_init.c | |
parent | xen-netback: don't populate the hash cache on XenBus disconnect (diff) | |
download | linux-6e46e2d821bb22b285ae8187959096b65d063b0d.tar.xz linux-6e46e2d821bb22b285ae8187959096b65d063b0d.zip |
net: dsa: mv88e6xxx: Fix u64 statistics
The switch maintains u64 counters for the number of octets sent and
received. These are kept as two u32's which need to be combined. Fix
the combing, which wrongly worked on u16's.
Fixes: 80c4627b2719 ("dsa: mv88x6xxx: Refactor getting a single statistic")
Reported-by: Chris Healy <Chris.Healy@zii.aero>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions