be2net: Clear pending tx completions before destroying tx queue
authorSathya Perla <sathyap@serverengines.com>
Mon, 10 Aug 2009 03:42:43 +0000 (03:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Aug 2009 05:13:16 +0000 (22:13 -0700)
Clear pending tx completions in be_close() (ndo.stop method) so that after
unregister_netdev() calls be_close(), all tx skbs are freed and there are
no more tx completions when txq is destroyed.

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

No differences found