Files
linux-legacy/drivers/net
Oliver Hartkopp c115590dc5 can: fix NOHZ local_softirq_pending 08 warning
commit 481a8199142c050b72bff8a1956a49fd0a75bbe0 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-10-05 09:32:13 -07:00
..
2009-04-13 15:16:33 -07:00
2009-07-13 11:11:41 -07:00
2009-06-08 00:21:48 -07:00
2009-07-03 19:10:51 -07:00
2009-07-26 18:50:39 -07:00
2009-05-26 20:35:02 -07:00
…
2009-05-26 20:35:02 -07:00
…
…
2009-05-26 20:35:02 -07:00
2009-07-30 13:27:28 -07:00
2009-05-26 20:35:03 -07:00
…
…
…
2009-07-12 14:20:04 -07:00
…
2009-04-24 04:45:33 -07:00
2009-05-17 11:59:51 -07:00
…
2009-05-29 01:46:27 -07:00
…
…
2009-04-11 02:53:46 -07:00
…
2009-07-26 18:50:38 -07:00
…
…
2009-07-09 20:32:31 -07:00
…
2009-04-04 16:51:14 -07:00
2009-03-02 22:32:48 -08:00
2009-02-15 23:32:01 -08:00
2009-02-15 23:32:01 -08:00
2009-02-15 23:32:01 -08:00
2009-03-02 22:32:43 -08:00
…
2009-08-15 18:50:47 -07:00
2009-08-15 18:50:44 -07:00
…
…
…
…
…
…
…
…
2009-07-26 18:53:17 -07:00
2009-07-30 13:27:34 -07:00
…
…
2009-07-05 18:03:33 -07:00
2009-02-04 16:43:44 -08:00
2009-09-06 01:41:24 -07:00
…
2009-02-26 21:02:19 -08:00
…
2009-04-16 02:20:08 -07:00
…
…
…
2009-05-17 15:19:36 -07:00
…
2009-06-11 17:23:24 -07:00
2009-05-29 01:46:27 -07:00
2009-05-29 01:51:22 -07:00
2009-06-08 00:20:20 -07:00
2009-07-20 08:23:26 -07:00
2009-07-20 08:23:26 -07:00
2009-03-27 00:46:48 -07:00
2009-04-16 02:20:15 -07:00
…
…
…
2009-04-16 02:20:16 -07:00
2009-07-20 08:23:26 -07:00
2009-06-25 20:06:34 -07:00
…
2009-04-16 02:20:18 -07:00
2009-04-16 02:20:21 -07:00
…
2009-04-16 02:20:22 -07:00
2009-03-27 00:46:53 -07:00
…
…
2009-03-28 23:37:27 -07:00
…
2009-06-18 00:29:08 -07:00
2009-08-09 21:45:48 -07:00
2009-07-12 14:20:04 -07:00
2009-07-16 09:14:23 -07:00
2009-07-30 14:19:19 -07:00
…
…
2009-07-26 20:18:52 -07:00
2009-04-16 02:20:24 -07:00
…
2009-04-29 17:32:34 -07:00
2009-08-02 12:20:40 -07:00
…
2009-04-16 02:20:25 -07:00
…
2009-05-25 22:49:56 -07:00
…
…
…
…
…
2009-08-26 12:03:35 -07:00
2009-04-16 02:20:25 -07:00
…
2009-03-27 00:46:48 -07:00
…
…
…
…
…
…
…
2009-07-12 14:20:04 -07:00
…
2009-06-08 00:21:48 -07:00
…
…
…
2009-04-13 15:16:21 -07:00
…