diff options
author | Yongqiang Liu | 2022-12-03 09:41:25 +0000 |
---|---|---|
committer | Paolo Abeni | 2022-12-06 12:41:46 +0100 |
commit | 42330a32933fb42180c52022804dcf09f47a2f99 (patch) | |
tree | a2393d364489ffcc658f32b425b1d12de08fb358 /drivers/phy/cadence | |
parent | 5a5a3e564de6a8db987410c5c2f4748d50ea82b8 (diff) |
net: thunderx: Fix missing destroy_workqueue of nicvf_rx_mode_wq
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>
Diffstat (limited to 'drivers/phy/cadence')
0 files changed, 0 insertions, 0 deletions