Skip to content

Commit

Permalink
qlcnic: fix panic on load
Browse files Browse the repository at this point in the history
Its now illegal to call netif_stop_queue() before register_netdev()

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Oct 31, 2010
1 parent fde4590 commit 636f8c6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/qlcnic/qlcnic_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1450,7 +1450,6 @@ qlcnic_setup_netdev(struct qlcnic_adapter *adapter,
netdev->irq = adapter->msix_entries[0].vector;

netif_carrier_off(netdev);
netif_stop_queue(netdev);

err = register_netdev(netdev);
if (err) {
Expand Down

0 comments on commit 636f8c6

Please sign in to comment.