linux/drivers/net/can
Jimmy Assarsson 36aea60fc8 can: kvaser_pciefd: kvaser_pciefd_rx_error_frame(): increase correct stats->{rx,tx}_errors counter
Check the direction bit in the error frame packet (EPACK) to determine
which net_device_stats {rx,tx}_errors counter to increase.

Fixes: 26ad340e58 ("can: kvaser_pciefd: Add driver for Kvaser PCIEcan devices")
Link: https://lore.kernel.org/all/20211208152122.250852-1-extja@kvaser.com
Cc: stable@vger.kernel.org
Signed-off-by: Jimmy Assarsson <extja@kvaser.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2021-12-09 09:01:43 +01:00
..
c_can can: c_can: fix null-ptr-deref on ioctl() 2021-09-07 08:46:58 +02:00
cc770 can: dev: can_get_echo_skb(): extend to return can frame length 2021-01-14 08:43:43 +01:00
dev can: netlink: add can_priv::do_get_auto_tdcv() to retrieve tdcv from device 2021-10-24 16:24:29 +02:00
ifi_canfd can: dev: can_get_echo_skb(): extend to return can frame length 2021-01-14 08:43:43 +01:00
m_can can: m_can: pci: use custom bit timings for Elkhart Lake 2021-12-07 09:51:41 +01:00
mscan can: mscan: mpc5xxx_can: Make use of the helper function dev_err_probe() 2021-10-24 16:26:05 +02:00
peak_canfd can: peak_pciefd: pucan_handle_status(): fix a potential starvation issue in TX path 2021-06-24 08:40:10 +02:00
rcar can: rcar: drop unneeded ARM dependency 2021-10-24 16:26:04 +02:00
sja1000 can: sja1000: fix use after free in ems_pcmcia_add_card() 2021-12-07 09:08:58 +01:00
softing can: softing: Remove redundant variable ptr 2021-05-27 09:42:22 +02:00
spi can: mcp251xfd: mcp251xfd_chip_start(): fix error handling for mcp251xfd_chip_rx_int_enable() 2021-11-06 21:25:25 +01:00
usb can: peak_usb: exchange the order of information messages 2021-11-06 17:34:28 +01:00
at91_can.c can: at91/janz-ican3: replace snprintf() in show functions with sysfs_emit() 2021-10-24 16:25:42 +02:00
flexcan.c can: flexcan: Use struct_group() to zero struct flexcan_regs regions 2021-09-25 08:20:48 -07:00
grcan.c can: dev: can_free_echo_skb(): extend to return can frame length 2021-03-30 11:14:28 +02:00
janz-ican3.c can: at91/janz-ican3: replace snprintf() in show functions with sysfs_emit() 2021-10-24 16:25:42 +02:00
Kconfig can: flexcan: update Kconfig to enable coldfire 2021-07-25 11:36:29 +02:00
kvaser_pciefd.c can: kvaser_pciefd: kvaser_pciefd_rx_error_frame(): increase correct stats->{rx,tx}_errors counter 2021-12-09 09:01:43 +01:00
led.c
Makefile can: dev: move driver related infrastructure into separate subdir 2021-01-13 09:42:58 +01:00
pch_can.c can: pch_can: pch_can_rx_normal: fix use after free 2021-12-07 09:08:36 +01:00
slcan.c tty: remove file from tty_mode_ioctl 2021-09-22 16:59:13 +02:00
sun4i_can.c can: dev: can_get_echo_skb(): extend to return can frame length 2021-01-14 08:43:43 +01:00
ti_hecc.c can: rx-offload: add skb queue for use during ISR 2021-07-25 11:36:25 +02:00
vcan.c net: introduce CAN specific pointer in the struct net_device 2021-02-24 14:32:15 -08:00
vxcan.c net: introduce CAN specific pointer in the struct net_device 2021-02-24 14:32:15 -08:00
xilinx_can.c can: xilinx_can: xcan_remove(): remove redundant netif_napi_del() 2021-10-24 16:26:05 +02:00