be2net: destroy mcc queue before tx queues
authorSathya Perla <sathyap@serverengines.com>
Mon, 17 Aug 2009 00:58:41 +0000 (00:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Aug 2009 00:48:29 +0000 (17:48 -0700)
As mcc queue uses the tx event queue.

Signed-off-by: Sathya Perla <sathyap@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_main.c

index 010175f4b8f1e5d5bdb405e717ff0370afa33237..7b9efee890f8455a0a0840891066b0844bb5dd74 100644 (file)
@@ -1655,12 +1655,12 @@ do_none:
 
 static int be_clear(struct be_adapter *adapter)
 {
+       be_mcc_queues_destroy(adapter);
        be_rx_queues_destroy(adapter);
        be_tx_queues_destroy(adapter);
 
        be_cmd_if_destroy(adapter, adapter->if_handle);
 
-       be_mcc_queues_destroy(adapter);
        return 0;
 }