summaryrefslogtreecommitdiffstats
path: root/net/ipv4/devinet.c
diff options
context:
space:
mode:
authorOliver Hartkopp2009-09-15 10:31:34 +0200
committerDavid S. Miller2009-09-15 10:31:34 +0200
commit481a8199142c050b72bff8a1956a49fd0a75bbe0 (patch)
tree66bcd9798738a760c9982d62b9a39b57774e8349 /net/ipv4/devinet.c
parenttcp: fix ssthresh u16 leftover (diff)
downloadkernel-qcow2-linux-481a8199142c050b72bff8a1956a49fd0a75bbe0.tar.gz
kernel-qcow2-linux-481a8199142c050b72bff8a1956a49fd0a75bbe0.tar.xz
kernel-qcow2-linux-481a8199142c050b72bff8a1956a49fd0a75bbe0.zip
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>
Diffstat (limited to 'net/ipv4/devinet.c')
0 files changed, 0 insertions, 0 deletions