commit | 8f6d9f40476895571df039b6f1f5230ec7faebad | [log] [tgz] |
---|---|---|
author | Dimitris Michailidis <dm@chelsio.com> | Thu Oct 21 11:29:55 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Oct 24 15:52:30 2010 -0700 |
tree | f960e7ca556f14aa1f8b6f9dcffb0cd491bb9fad | |
parent | 2d3359f8b9e6b3d6339b7e72f8e82275058eb13c [diff] |
cxgb4: fix crash due to manipulating queues before registration 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>