summaryrefslogtreecommitdiffstats
path: root/drivers/net/benet
diff options
context:
space:
mode:
authorSathya Perla <sathyap@serverengines.com>2009-08-17 00:58:41 +0000
committerDavid S. Miller <davem@davemloft.net>2009-08-17 17:48:29 -0700
commit1a8887d81ac4bbee6153b4bc9b9f9e099fb5f07e (patch)
tree79846d3190aa216769ecd9914d927b05e511b17e /drivers/net/benet
parentb628bde2b5390776efc30837798d016ec1aa3ebe (diff)
downloadblackbird-op-linux-1a8887d81ac4bbee6153b4bc9b9f9e099fb5f07e.tar.gz
blackbird-op-linux-1a8887d81ac4bbee6153b4bc9b9f9e099fb5f07e.zip
be2net: destroy mcc queue before tx queues
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>
Diffstat (limited to 'drivers/net/benet')
-rw-r--r--drivers/net/benet/be_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c
index 010175f4b8f1..7b9efee890f8 100644
--- a/drivers/net/benet/be_main.c
+++ b/drivers/net/benet/be_main.c
@@ -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;
}
OpenPOWER on IntegriCloud