diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-10-31 06:46:18 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-31 17:32:55 +0100 |
commit | fde459007de8ce2647beaea57b56985700edc8ac (patch) | |
tree | ea72bd45e54240bd5677abf2305409b01f1b2a71 /drivers/net | |
parent | isdn: mISDN: socket: fix information leak to userland (diff) | |
download | linux-fde459007de8ce2647beaea57b56985700edc8ac.tar.xz linux-fde459007de8ce2647beaea57b56985700edc8ac.zip |
jme: fix panic on load
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/jme.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/jme.c b/drivers/net/jme.c index d85edf3119c2..c57d9a43ceca 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"); |