]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: tag_qca: fix doubled Tx statistics
authorAlexander Lobakin <alobakin@dlink.ru>
Wed, 15 Jan 2020 08:56:52 +0000 (11:56 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Jan 2020 12:59:40 +0000 (13:59 +0100)
commita95a1cb30f94aab6bc3d8232570f49ad309445a9
tree0e0ef986fb04d8de93511ec2a55765df1479b5a1
parent363d3d5c601db588439c8b317671eb9a58d5084a
net: dsa: tag_qca: fix doubled Tx statistics

DSA subsystem takes care of netdev statistics since commit 18c7187d1027
("net: dsa: Refactor transmit path to eliminate duplication"), so
any accounting inside tagger callbacks is redundant and can lead to
messing up the stats.
This bug is present in Qualcomm tagger since day 0.

Fixes: 5de8724f3d13 ("net-next: dsa: add Qualcomm tag RX/TX handler")
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Alexander Lobakin <alobakin@dlink.ru>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/tag_qca.c