summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2019-02-28 18:14:03 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-13 14:04:53 -0700
commit23e34d11b000be877d4cd3df00f03894791542d4 (patch)
treecaa3762aa011c0b20ecc00037a4dbcdaf757e57c /net
parentfc693a59689f1d790841ece7db9de8d6659a58a3 (diff)
net: dsa: mv88e6xxx: Fix u64 statistics
[ Upstream commit 6e46e2d821bb22b285ae8187959096b65d063b0d ] 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions