]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
vmxnet3: do not stop tx queues after netif_device_detach()
authorDongli Zhang <dongli.zhang@oracle.com>
Tue, 26 Oct 2021 21:50:31 +0000 (14:50 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Nov 2021 10:35:59 +0000 (11:35 +0100)
commit4204182fd504968b5be596c8ac377dfba2c0effd
tree2ce0637ecb5068109d5237fd66b4b5b2b4a2593f
parent1864ca9a443483bf65656b3415b0114eb5bd60ab
vmxnet3: do not stop tx queues after netif_device_detach()

[ Upstream commit 9159f102402a64ac85e676b75cc1f9c62c5b4b73 ]

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>
drivers/net/vmxnet3/vmxnet3_drv.c