summaryrefslogtreecommitdiffstats
path: root/drivers/net/benet/be_main.c
diff options
context:
space:
mode:
authorSathya Perla <sathyap@serverengines.com>2009-08-17 02:58:41 +0200
committerDavid S. Miller <davem@davemloft.net>2009-08-18 02:48:29 +0200
commit1a8887d81ac4bbee6153b4bc9b9f9e099fb5f07e (patch)
tree79846d3190aa216769ecd9914d927b05e511b17e /drivers/net/benet/be_main.c
parentbe2net: refactor be_msix_(un)register() code. (diff)
downloadlinux-1a8887d81ac4bbee6153b4bc9b9f9e099fb5f07e.tar.xz
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/be_main.c')
-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;
}