OpenCloudOS-Kernel/drivers/net/ethernet/microchip/sparx5
Steen Hegelund ed14fc7a79 net: sparx5: Fix get_stat64 crash in tcpdump
This problem was found with Sparx5 when the tcpdump tool requests the
do_get_stats64 (sparx5_get_stats64) statistic.

The portstats pointer was incorrectly incremented when fetching priority
based statistics.

Fixes: af4b11022e (net: sparx5: add ethtool configuration and statistics support)
Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com>
Link: https://lore.kernel.org/r/20220203102900.528987-1-steen.hegelund@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-02-03 19:01:15 -08:00
..
Kconfig Revert "net: build all switchdev drivers as modules when the bridge is a module" 2021-08-04 12:35:07 +01:00
Makefile net: sparx5: switchdev: adding frame DMA functionality 2021-08-20 14:28:55 +01:00
sparx5_calendar.c net: sparx5: add calendar bandwidth allocation support 2021-06-24 11:28:13 -07:00
sparx5_ethtool.c net: sparx5: Fix get_stat64 crash in tcpdump 2022-02-03 19:01:15 -08:00
sparx5_fdma.c net: sparx5: switchdev: adding frame DMA functionality 2021-08-20 14:28:55 +01:00
sparx5_mactable.c net: switchdev: zero-initialize struct switchdev_notifier_fdb_info emitted by drivers towards the bridge 2021-08-10 13:22:57 -07:00
sparx5_main.c net: sparx5: use phylink_generic_validate() 2021-11-17 11:21:42 +00:00
sparx5_main.h net: sparx5: switchdev: adding frame DMA functionality 2021-08-20 14:28:55 +01:00
sparx5_main_regs.h
sparx5_netdev.c ethernet: sparx5: use eth_hw_addr_gen() 2021-10-19 12:46:25 +01:00
sparx5_packet.c net: sparx5: do not refer to skb after passing it on 2022-02-02 09:07:22 -08:00
sparx5_phylink.c net: sparx5: use phylink_generic_validate() 2021-11-17 11:21:42 +00:00
sparx5_port.c net: sparx5: switchdev: adding frame DMA functionality 2021-08-20 14:28:55 +01:00
sparx5_port.h net: sparx5: switchdev: adding frame DMA functionality 2021-08-20 14:28:55 +01:00
sparx5_switchdev.c net: bridge: switchdev: allow the TX data plane forwarding to be offloaded 2021-07-23 16:32:37 +01:00
sparx5_vlan.c net: sparx5: add vlan support 2021-06-24 11:28:13 -07:00