aha/drivers/net/can
Oliver Hartkopp 481a819914 can: fix NOHZ local_softirq_pending 08 warning
When using nanosleep() in an userspace application we get a ratelimit warning

NOHZ: local_softirq_pending 08

for 10 times.

The echo of CAN frames is done from process context and softirq context only.
Therefore the usage of netif_rx() was wrong (for years).

This patch replaces netif_rx() with netif_rx_ni() which has to be used from
process/softirq context. It also adds a missing comment that can_send() must
no be used from hardirq context.

Signed-off-by: Oliver Hartkopp <oliver@hartkopp.net>
Signed-off-by: Urs Thuermann <urs@isnogud.escape.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-09-15 01:31:34 -07:00
..
sja1000 can: sja1000: legacy SJA1000 ISA bus driver 2009-09-04 02:16:16 -07:00
dev.c can: add can_free_echo_skb() for upcoming drivers 2009-09-04 02:16:14 -07:00
Kconfig can: sja1000: legacy SJA1000 ISA bus driver 2009-09-04 02:16:16 -07:00
Makefile can: Driver for the SJA1000 CAN controller 2009-05-18 15:41:41 -07:00
vcan.c can: fix NOHZ local_softirq_pending 08 warning 2009-09-15 01:31:34 -07:00