cxgb4: fix crash due to manipulating queues before registration
authorDimitris Michailidis <dm@chelsio.com>
Thu, 21 Oct 2010 11:29:55 +0000 (11:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Oct 2010 22:52:30 +0000 (15:52 -0700)
Before commit "net: allocate tx queues in register_netdevice"
netif_tx_stop_all_queues and related functions could be used between
device allocation and registration but now only after registration.
cxgb4 has such a call before registration and crashes now.  Move it
after register_netdev.

Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found