linux/drivers/net/ethernet/intel/iavf
Yuan Can 227d8d2f7f iavf: Fix error handling in iavf_init_module()
The iavf_init_module() won't destroy workqueue when pci_register_driver()
failed. Call destroy_workqueue() when pci_register_driver() failed to
prevent the resource leak.

Similar to the handling of u132_hcd_init in commit f276e00279
("usb: u132-hcd: fix resource leak")

Fixes: 2803b16c10 ("i40e/i40evf: Use private workqueue")
Signed-off-by: Yuan Can <yuancan@huawei.com>
Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2022-11-23 08:37:33 -08:00
..
iavf.h iavf: remove INITIAL_MAC_SET to allow gARP to work properly 2022-11-18 13:38:39 -08:00
iavf_adminq.c iavf: Fix adminq error handling 2022-08-12 08:22:55 -07:00
iavf_adminq.h
iavf_adminq_cmd.h
iavf_adv_rss.c
iavf_adv_rss.h
iavf_alloc.h
iavf_client.c
iavf_client.h
iavf_common.c
iavf_devids.h
iavf_ethtool.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
iavf_fdir.c
iavf_fdir.h
iavf_main.c iavf: Fix error handling in iavf_init_module() 2022-11-23 08:37:33 -08:00
iavf_osdep.h
iavf_prototype.h
iavf_register.h
iavf_status.h
iavf_trace.h
iavf_txrx.c iavf: Fix bad page state 2022-09-19 14:03:45 -07:00
iavf_txrx.h
iavf_type.h
iavf_virtchnl.c iavf: Fix VF driver counting VLAN 0 filters 2022-11-09 13:20:55 -08:00
Makefile