From: Manfred Rudigier <manfred.rudigier@omicron.at>
To: <davem@davemloft.net>
Cc: <netdev@vger.kernel.org>, <richardcochran@gmail.com>,
Manfred Rudigier <manfred.rudigier@omicron.at>
Subject: [PATCH] dp83640: Fix NOHZ local_softirq_pending 08 warning
Date: Tue, 10 Jan 2012 10:52:15 +0100 [thread overview]
Message-ID: <1326189135-27770-1-git-send-email-manfred.rudigier@omicron.at> (raw)
Similar problem as in 481a8199142c050b72bff8a1956a49fd0a75bbe0. This fix
replaces netif_rx() with netif_rx_ni() which has to be used from
process/softirq context.
Signed-off-by: Manfred Rudigier <manfred.rudigier@omicron.at>
---
drivers/net/phy/dp83640.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/phy/dp83640.c b/drivers/net/phy/dp83640.c
index 9663e0b..ba3c591 100644
--- a/drivers/net/phy/dp83640.c
+++ b/drivers/net/phy/dp83640.c
@@ -1159,7 +1159,7 @@ static void rx_timestamp_work(struct work_struct *work)
}
}
spin_unlock_irqrestore(&dp83640->rx_lock, flags);
- netif_rx(skb);
+ netif_rx_ni(skb);
}
/* Clear out expired time stamps. */
--
1.7.0.4
next reply other threads:[~2012-01-10 9:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-10 9:52 Manfred Rudigier [this message]
2012-01-11 19:03 ` [PATCH] dp83640: Fix NOHZ local_softirq_pending 08 warning Richard Cochran
2012-01-12 11:56 ` Manfred Rudigier
-- strict thread matches above, loose matches on Subject: below --
2012-01-12 11:58 Manfred Rudigier
2012-01-12 19:51 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1326189135-27770-1-git-send-email-manfred.rudigier@omicron.at \
--to=manfred.rudigier@omicron.at \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=richardcochran@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).