]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit81797ff668902c2fe4010031c559e83e4cb51502
treef9a55f827ff9609c2020b0163d65a6b151845092
parent4a40bcf1d54bfc3b774978fba32237d8473670bb
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