netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] jme: fix panic on load
@ 2010-10-31 15:46 Eric Dumazet
  2010-10-31 16:34 ` David Miller
  2010-10-31 16:39 ` Guo-Fu Tseng
  0 siblings, 2 replies; 6+ messages in thread
From: Eric Dumazet @ 2010-10-31 15:46 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, Guo-Fu Tseng

Its now illegal to call netif_stop_queue() before register_netdev()

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Guo-Fu Tseng <cooldavid@cooldavid.org>
---
 drivers/net/jme.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/net/jme.c b/drivers/net/jme.c
index d85edf3..c57d9a4 100644
--- a/drivers/net/jme.c
+++ b/drivers/net/jme.c
@@ -2955,11 +2955,7 @@ jme_init_one(struct pci_dev *pdev,
 	 * Tell stack that we are not ready to work until open()
 	 */
 	netif_carrier_off(netdev);
-	netif_stop_queue(netdev);
 
-	/*
-	 * Register netdev
-	 */
 	rc = register_netdev(netdev);
 	if (rc) {
 		pr_err("Cannot register net device\n");



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

end of thread, other threads:[~2010-11-01 10:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-31 15:46 [PATCH] jme: fix panic on load Eric Dumazet
2010-10-31 16:34 ` David Miller
2010-10-31 16:39 ` Guo-Fu Tseng
2010-10-31 16:26   ` David Miller
2010-11-01 11:22     ` Guo-Fu Tseng
2010-10-31 16:32   ` Eric Dumazet

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