linux-next/drivers/net/can/c_can
Dario Binacchi 9e66242504 can: c_can: c_can_handle_bus_err(): update statistics if skb allocation fails
Ensure that the statistics are always updated, even if the skb
allocation fails.

Fixes: 4d6d265379 ("can: c_can: fix {rx,tx}_errors statistics")
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Link: https://patch.msgid.link/20241122221650.633981-2-dario.binacchi@amarulasolutions.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2024-11-26 10:49:21 +01:00
..
c_can_ethtool.c can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
c_can_main.c can: c_can: c_can_handle_bus_err(): update statistics if skb allocation fails 2024-11-26 10:49:21 +01:00
c_can_pci.c can: c_can: Remove redundant pci_clear_master 2023-03-24 19:11:20 +01:00
c_can_platform.c can: Switch back to struct platform_driver::remove() 2024-09-11 09:37:16 +02:00
c_can.h can: c_can: don't cache TX messages for C_CAN cores 2022-09-28 10:34:04 +02:00
Kconfig can: remove obsolete PCH CAN driver 2022-10-19 21:33:30 +02:00
Makefile can: c_can: add ethtool support 2021-05-27 09:42:23 +02:00