net/hyperv: Use netif_tx_disable() instead of netif_stop_queue() when necessary
authorHaiyang Zhang <haiyangz@microsoft.com>
Thu, 2 Feb 2012 07:17:59 +0000 (07:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Feb 2012 19:35:12 +0000 (14:35 -0500)
commit0a282538cc1977655004cdb2eb25dd2b63f20637
treef9a55f827ff9609c2020b0163d65a6b151845092
parentcb0a178c787d2bdf787d56e364becdb0eb4b4fab
net/hyperv: Use netif_tx_disable() instead of netif_stop_queue() when necessary

For code path not on the xmit, use netif_tx_disable() instead of
netif_stop_queue() to ensure other CPUs are not doing xmit.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc_drv.c