be2net: Fix be_tx_q_clean() being called on freed queues
authorSathya Perla <sathyap@serverengines.com>
Wed, 10 Jun 2009 02:23:50 +0000 (02:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Jun 2009 09:47:19 +0000 (02:47 -0700)
commit934037bc2ed29a94bbde72aa6a2e66bdc5861b98
tree45104a213708003c341a3b10d3c9cb9b4503adea
parenta7a0ef31def6b6badd94fc96c8f17c2e18d91513
be2net: Fix be_tx_q_clean() being called on freed queues

In the tx queue destroy path, be_tx_q_clean() is currently called after the tx queues are freed; it must be called before.

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