mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
vmxnet3: do not stop tx queues after netif_device_detach()
[ Upstream commit 9159f10240
]
The netif_device_detach() conditionally stops all tx queues if the queues
are running. There is no need to call netif_tx_stop_all_queues() again.
Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
17dcecf20c
commit
a62d430841
1 changed files with 0 additions and 1 deletions
|
@ -3634,7 +3634,6 @@ vmxnet3_suspend(struct device *device)
|
|||
vmxnet3_free_intr_resources(adapter);
|
||||
|
||||
netif_device_detach(netdev);
|
||||
netif_tx_stop_all_queues(netdev);
|
||||
|
||||
/* Create wake-up filters. */
|
||||
pmConf = adapter->pm_conf;
|
||||
|
|
Loading…
Reference in a new issue