[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071128083826.3a9400d1@freepuppy.rosehill>
Date: Wed, 28 Nov 2007 08:38:26 -0800
From: Stephen Hemminger <shemminger@...ux-foundation.org>
To: Robert Olsson <Robert.Olsson@...a.slu.se>
Cc: "Kok, Auke" <auke-jan.h.kok@...el.com>,
Robert Olsson <Robert.Olsson@...a.slu.se>,
David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: net_rx_action/NAPI oops [PATCH]
Would this fix it?
--- a/drivers/net/e1000/e1000_main.c 2007-11-15 21:13:12.000000000 -0800
+++ b/drivers/net/e1000/e1000_main.c 2007-11-28 08:37:03.000000000 -0800
@@ -630,10 +630,10 @@ e1000_down(struct e1000_adapter *adapter
* reschedule our watchdog timer */
set_bit(__E1000_DOWN, &adapter->flags);
+ e1000_irq_disable(adapter);
#ifdef CONFIG_E1000_NAPI
- napi_disable(&adapter->napi);
+ napi_synchronize(&adapter->napi);
#endif
- e1000_irq_disable(adapter);
del_timer_sync(&adapter->tx_fifo_stall_timer);
del_timer_sync(&adapter->watchdog_timer);
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists