]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
can: mcp251x: fix NOHZ local_softirq_pending 08 warning
authorMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 4 Oct 2010 08:50:51 +0000 (10:50 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 18 Oct 2010 09:19:42 +0000 (11:19 +0200)
commit57d3c7b09bd797b8db974557a71df8675a22601b
treeacbc78d1f16e27239027b54e2750ec40fc1b6ed1
parent724829b3ad8e8aeb0aec46de383d35bfa1ad3875
can: mcp251x: fix NOHZ local_softirq_pending 08 warning

This patch replaces netif_rx() with netif_rx_ni() which has to be used
from the threaded interrupt i.e. process context context.

Thanks to Christian Pellegrin for pointing at the right fix:
481a8199142c050b72bff8a1956a49fd0a75bbe0 by Oliver Hartkopp.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Acked-by: Wolfgang Grandegger <wg@grandegger.com>
drivers/net/can/mcp251x.c