netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] E1000: Fix ifdown hang in git-2.6.24
@ 2007-08-23  9:04 Krishna Kumar
  2007-08-23  9:04 ` [PATCH 2/2] [RFC] E1000: Fix hang in netdev_wait_allrefs() Krishna Kumar
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Krishna Kumar @ 2007-08-23  9:04 UTC (permalink / raw)
  To: netdev, davem; +Cc: Krishna Kumar

Doing napi_disable twice hangs "ifdown" of the device. e1000_down is the
common place to call napi_disable.

Signed-off-by: Krishna Kumar <krkumar2@in.ibm.com>
---
 e1000_main.c |    4 ----
 1 files changed, 4 deletions(-)

diff -ruNp org/drivers/net/e1000/e1000_main.c new/drivers/net/e1000/e1000_main.c
--- org/drivers/net/e1000/e1000_main.c	2007-08-23 13:32:16.000000000 +0530
+++ new/drivers/net/e1000/e1000_main.c	2007-08-23 13:32:34.000000000 +0530
@@ -1477,10 +1477,6 @@ e1000_close(struct net_device *netdev)
 {
 	struct e1000_adapter *adapter = netdev_priv(netdev);
 
-#ifdef CONFIG_E1000_NAPI
-	napi_disable(&adapter->napi);
-#endif
-
 	WARN_ON(test_bit(__E1000_RESETTING, &adapter->flags));
 	e1000_down(adapter);
 	e1000_power_down_phy(adapter);

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-08-25  6:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-23  9:04 [PATCH 1/2] E1000: Fix ifdown hang in git-2.6.24 Krishna Kumar
2007-08-23  9:04 ` [PATCH 2/2] [RFC] E1000: Fix hang in netdev_wait_allrefs() Krishna Kumar
2007-08-25  6:08   ` David Miller
2007-08-23 16:11 ` [PATCH 1/2] E1000: Fix ifdown hang in git-2.6.24 Kok, Auke
2007-08-25  6:07 ` David Miller

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).