WSL2-Linux-Kernel/drivers/net/can
Andreas Larsson 56a5ff9480 can: grcan: only use the NAPI poll budget for RX
commit 2873d4d52f upstream.

The previous split budget between TX and RX made it return not using
the entire budget but at the same time not having calling called
napi_complete. This sometimes led to the poll to not be called, and at
the same time having TX and RX interrupts disabled resulting in the
driver getting stuck.

Fixes: 6cec9b07fe ("can: grcan: Add device driver for GRCAN and GRHCAN cores")
Link: https://lore.kernel.org/all/20220429084656.29788-4-andreas@gaisler.com
Cc: stable@vger.kernel.org
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-12 12:30:09 +02: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: bittiming: can_fixup_bittiming(): change type of tseg1 and alltseg to unsigned int 2021-11-18 19:16:19 +01: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: m_can_tx_handler(): fix use after free of skb 2022-04-08 14:22:53 +02:00
mscan can: mscan: mpc5xxx_can: mpc5xxx_can_probe(): remove useless BUG_ON() 2021-08-25 08:25:11 +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_canfd: rcar_canfd_channel_probe(): register the CAN device when fully ready 2022-03-19 13:47:49 +01:00
sja1000 can: sja1000: fix use after free in ems_pcmcia_add_card() 2021-12-14 10:57:07 +01:00
softing can: softing: softing_startstop(): fix set but not used variable warning 2022-01-27 11:04:01 +01:00
spi can: mcp251xfd: mcp251xfd_register_get_dev_id(): fix return of error value 2022-04-08 14:24:09 +02:00
usb can: etas_es58x: es58x_fd_rx_event_msg(): initialize rx_event_msg before calling es58x_check_msg_len() 2022-04-13 20:59:08 +02:00
Kconfig can: flexcan: update Kconfig to enable coldfire 2021-07-25 11:36:29 +02:00
Makefile can: dev: move driver related infrastructure into separate subdir 2021-01-13 09:42:58 +01:00
at91_can.c net: at91_can: fix the comments style issue 2021-07-25 11:36:27 +02:00
flexcan.c can: flexcan: add more quirks to describe RX path capabilities 2022-01-27 11:04:56 +01:00
grcan.c can: grcan: only use the NAPI poll budget for RX 2022-05-12 12:30:09 +02:00
janz-ican3.c can: janz-ican3: use DEVICE_ATTR_RO/RW() helper macro 2021-07-25 11:36:26 +02:00
kvaser_pciefd.c can: kvaser_pciefd: kvaser_pciefd_rx_error_frame(): increase correct stats->{rx,tx}_errors counter 2021-12-14 10:57:07 +01:00
led.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
pch_can.c can: pch_can: pch_can_rx_normal: fix use after free 2021-12-14 10:57:07 +01:00
slcan.c tty: no checking of tty_unregister_ldisc 2021-05-13 16:57:17 +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 vxcan: enable local echo for sent CAN frames 2022-04-08 14:23:39 +02:00
xilinx_can.c can: xilinx_can: xcan_probe(): check for error irq 2022-01-27 11:04:01 +01:00