linux-brain/net/dsa
Alexander Lobakin e9a80cf490 net: dsa: tag_qca: fix doubled Tx statistics
[ Upstream commit bd5874da57edd001b35cf28ae737779498c16a56 ]

DSA subsystem takes care of netdev statistics since commit 4ed70ce9f0
("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: cafdc45c94 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-23 08:20:34 +01:00
..
dsa_priv.h net-next: dsa: move struct dsa_device_ops to the global header file 2017-08-09 22:51:47 -07:00
dsa.c net: dsa: Fix error cleanup path in dsa_init_module 2019-05-16 19:42:34 +02:00
dsa2.c net: dsa: fix switch tree list 2019-11-10 11:25:32 +01:00
Kconfig dsa: add support for Microchip KSZ tail tagging 2017-05-31 20:56:31 -04:00
legacy.c net: dsa: Move FDB add/del implementation inside DSA 2017-08-07 14:48:48 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
port.c net: dsa: Move FDB dump implementation inside DSA 2017-08-07 14:48:48 -07:00
slave.c net: dsa: slave: Don't propagate flag changes on down slave interfaces 2019-02-12 19:46:11 +01:00
switch.c net: dsa: return after vlan prepare phase 2017-11-11 15:45:09 +09:00
tag_brcm.c net: dsa: Discard frames from unused ports 2018-04-24 09:36:39 +02:00
tag_dsa.c net: dsa: Discard frames from unused ports 2018-04-24 09:36:39 +02:00
tag_edsa.c net: dsa: Discard frames from unused ports 2018-04-24 09:36:39 +02:00
tag_ksz.c net: dsa: Discard frames from unused ports 2018-04-24 09:36:39 +02:00
tag_lan9303.c net: dsa: Discard frames from unused ports 2018-04-24 09:36:39 +02:00
tag_mtk.c net: dsa: Discard frames from unused ports 2018-04-24 09:36:39 +02:00
tag_qca.c net: dsa: tag_qca: fix doubled Tx statistics 2020-01-23 08:20:34 +01:00
tag_trailer.c net: dsa: add error handling for pskb_trim_rcsum 2018-06-26 08:06:28 +08:00