From: Nishanth Aravamudan Date: Wed, 27 Oct 2010 19:06:30 +0000 (+0000) Subject: cxgb3: fix crash due to manipulating queues before registration X-Git-Tag: v2.6.37-rc1~32^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69dcfc8aad24fa95ae0a0ad1405cf6847e3ec14a;p=pandora-kernel.git cxgb3: fix crash due to manipulating queues before registration Along the same lines as "cxgb4: fix crash due to manipulating queues before registration" (8f6d9f40476895571df039b6f1f5230ec7faebad), 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: Nishanth Aravamudan Cc: eric.dumazet@gmail.com Cc: sonnyrao@us.ibm.com Cc: Divy Le Ray Cc: Dimitris Michailidis Cc: netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org Tested-by: Nishanth Aravamudan Acked-by: Divy Le Ray Signed-off-by: David S. Miller --- Reading git-diff-tree failed