commit | 614851601c121b1320a35757ab88292d6272f906 | [log] [tgz] |
---|---|---|
author | Matvejchikov Ilya <matvejchikov@gmail.com> | Fri Aug 05 09:23:51 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Aug 07 22:14:45 2011 -0700 |
tree | 2b6540a1c14febec40935154a4df13e7253092e5 | |
parent | fad54440438a7c231a6ae347738423cbabc936d9 [diff] |
slip: fix NOHZ local_softirq_pending 08 warning When using nanosleep() in an userspace application we get a ratelimit warning: NOHZ: local_softirq_pending 08 According to 481a8199142c050b72bff8a1956a49fd0a75bbe0 the problem is caused by netif_rx() function. This patch replaces netif_rx() with netif_rx_ni() which has to be used from process/softirq context. Signed-off-by: Matvejchikov Ilya <matvejchikov@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>