diff options
author | Yongqiang Liu <liuyongqiang13@huawei.com> | 2022-12-03 12:41:25 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-12-14 13:37:27 +0300 |
commit | 114e65a221892677e2941b4ebe7bc9072d02d3d2 (patch) | |
tree | 1ee2e2e67e4c4375a522a41598555379022c118a /drivers/net/ethernet/broadcom/b44.c | |
parent | 51c04945756aaffb986b162dd668a469e05ab257 (diff) | |
download | linux-114e65a221892677e2941b4ebe7bc9072d02d3d2.tar.xz |
net: thunderx: Fix missing destroy_workqueue of nicvf_rx_mode_wq
[ Upstream commit 42330a32933fb42180c52022804dcf09f47a2f99 ]
The nicvf_probe() won't destroy workqueue when register_netdev()
failed. Add destroy_workqueue err handle case to fix this issue.
Fixes: 2ecbe4f4a027 ("net: thunderx: replace global nicvf_rx_mode_wq work queue for all VFs to private for each of them.")
Signed-off-by: Yongqiang Liu <liuyongqiang13@huawei.com>
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Link: https://lore.kernel.org/r/20221203094125.602812-1-liuyongqiang13@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/broadcom/b44.c')
0 files changed, 0 insertions, 0 deletions