Florian Faber
584b8299f7
can: mscan: mscan_rx_poll(): fix rx path lockup when returning from polling to irq mode
...
commit 2d77bd61a2927be8f4e00d9478fe6996c47e8d45 upstream.
Under load, the RX side of the mscan driver can get stuck while TX still
works. Restarting the interface locks up the system. This behaviour
could be reproduced reliably on a MPC5121e based system.
The patch fixes the return value of the NAPI polling function (should be
the number of processed packets, not constant 1) and the condition under
which IRQs are enabled again after polling is finished.
With this patch, no more lockups were observed over a test period of ten
days.
Fixes: afa17a500a ("net/can: add driver for mscan family & mpc52xx_mscan")
Signed-off-by: Florian Faber <[email protected] >
Cc: linux-stable <[email protected] >
Signed-off-by: Marc Kleine-Budde <[email protected] >
Signed-off-by: Greg Kroah-Hartman <[email protected] >
2020-01-14 20:08:27 +01:00
..
appletalk
arcnet
bonding
bonding: fix active-backup transition after link failure
2020-01-04 19:19:11 +01:00
caif
can
can: mscan: mscan_rx_poll(): fix rx path lockup when returning from polling to irq mode
2020-01-14 20:08:27 +01:00
dsa
net: dsa: mv88e6xxx: force cmode write on 6141/6341
2020-01-12 12:21:50 +01:00
ethernet
net/mlx5: DR, Init lists that are used in rule's member
2020-01-12 12:21:51 +01:00
fddi
fjes
fjes: fix missed check in fjes_acpi_add
2019-12-31 16:41:14 +01:00
hamradio
6pack,mkiss: fix possible deadlock
2020-01-04 19:18:36 +01:00
hippi
hyperv
hv_netvsc: Fix unwanted rx_table reset
2020-01-12 12:21:45 +01:00
ieee802154
ipvlan
net: core: add generic lockdep keys
2019-10-24 14:53:48 -07:00
netdevsim
devlink: disallow reload operation during device cleanup
2019-11-09 19:38:36 -08:00
phy
net: phylink: fix interface passed to mac_link_up
2020-01-04 19:19:17 +01:00
plip
ppp
net: core: add generic lockdep keys
2019-10-24 14:53:48 -07:00
slip
slip: Fix use-after-free Read in slip_open
2019-12-04 22:30:56 +01:00
team
team: call RCU read lock when walking the port_list
2019-12-31 16:43:54 +01:00
usb
net: usb: lan78xx: fix possible skb leak
2020-01-12 12:21:47 +01:00
vmxnet3
wan
wimax
wimax: i2400: Fix memory leak in i2400m_op_rfkill_sw_toggle
2019-10-29 16:20:25 -07:00
wireless
mwifiex: Fix heap overflow in mmwifiex_process_tdls_action_frame()
2020-01-12 12:21:14 +01:00
xen-netback
xen/netback: fix error path of xenvif_connect_data()
2019-10-19 11:43:29 -07:00
dummy.c
eql.c
geneve.c
net: ipv6_stub: use ip6_dst_lookup_flow instead of ip6_dst_lookup
2019-12-18 16:08:42 +01:00
gtp.c
gtp: fix bad unlock balance in gtp_encap_enable_socket
2020-01-12 12:21:46 +01:00
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c
net: remove unnecessary variables and callback
2019-10-24 14:53:49 -07:00
macvlan.c
macvlan: do not assume mac_header is set in macvlan_broadcast()
2020-01-12 12:21:46 +01:00
macvtap.c
Makefile
mdio.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
thunderbolt.c
tun.c
tun: fix data-race in gro_normal_list()
2019-12-31 16:45:34 +01:00
veth.c
virtio_net.c
vrf.c
net: core: add generic lockdep keys
2019-10-24 14:53:48 -07:00
vsockmon.c
vxlan.c
vxlan: fix tos value before xmit
2020-01-12 12:21:49 +01:00
xen-netfront.c