diff mbox

dp83640: Fix NOHZ local_softirq_pending 08 warning

Message ID 1326369485-6218-1-git-send-email-manfred.rudigier@omicron.at
State Not Applicable, archived
Delegated to: David Miller
Headers show

Commit Message

Manfred Rudigier Jan. 12, 2012, 11:58 a.m. UTC
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(-)

Comments

Greg KH Jan. 12, 2012, 7:51 p.m. UTC | #1
On Thu, Jan 12, 2012 at 12:58:05PM +0100, Manfred Rudigier wrote:
> 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(-)

<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree.  Please read Documentation/stable_kernel_rules.txt
for how to do this properly.

</formletter>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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. */