diff options
author | Alejandro Concepcion Rodriguez <alejandro@acoro.eu> | 2020-11-06 00:51:47 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-24 15:27:22 +0300 |
commit | cef79b5249ea3bf7889f222999a3bcbc560d9a41 (patch) | |
tree | 2da4182d4a64d81e234239a9963bd7391bf23429 /drivers/hwmon/vexpress-hwmon.c | |
parent | e2b9ee9fe6c11f1b6ea5965ede224e33ca1358b9 (diff) | |
download | linux-cef79b5249ea3bf7889f222999a3bcbc560d9a41.tar.xz |
can: dev: can_restart(): post buffer from the right context
[ Upstream commit a1e654070a60d5d4f7cce59c38f4ca790bb79121 ]
netif_rx() is meant to be called from interrupt contexts. can_restart() may be
called by can_restart_work(), which is called from a worqueue, so it may run in
process context. Use netif_rx_ni() instead.
Fixes: 39549eef3587 ("can: CAN Network device driver and Netlink interface")
Co-developed-by: Loris Fauster <loris.fauster@ttcontrol.com>
Signed-off-by: Loris Fauster <loris.fauster@ttcontrol.com>
Signed-off-by: Alejandro Concepcion Rodriguez <alejandro@acoro.eu>
Link: https://lore.kernel.org/r/4e84162b-fb31-3a73-fa9a-9438b4bd5234@acoro.eu
[mkl: use netif_rx_ni() instead of netif_rx_any_context()]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/hwmon/vexpress-hwmon.c')
0 files changed, 0 insertions, 0 deletions