netdev: octeon_mgmt: Try not to drop TX packets when stopping the queue.
authorDavid Daney <ddaney@caviumnetworks.com>
Wed, 5 May 2010 13:03:12 +0000 (13:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 May 2010 04:22:35 +0000 (21:22 -0700)
commit4e4a4f1478fdb303c9d99c69cfb4e973526f0c99
treea5b6a62d6743b1df1074e01d35b054471a688b6a
parentb635e06993076c3c8f8cc766b183be7da3baafdb
netdev: octeon_mgmt: Try not to drop TX packets when stopping the queue.

Stop the queue when we add the packet that will fill it instead of dropping the packet

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/octeon/octeon_mgmt.c