intel/igbvf: free irq on the error path in igbvf_request_msix()
authorGaosheng Cui <cuigaosheng1@huawei.com>
Tue, 22 Nov 2022 02:28:52 +0000 (10:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Mar 2023 10:47:44 +0000 (12:47 +0200)
commit9630432b427f25798b03c311c3930d65be247f54
tree4d9345999471b099817386c099b92ab8d9eae6b4
parent2afe7aebf642daa3f8cdd9645ad23af5aec5f2da
intel/igbvf: free irq on the error path in igbvf_request_msix()

[ Upstream commit 85eb39bb39cbb5c086df1e19ba67cc1366693a77 ]

In igbvf_request_msix(), irqs have not been freed on the err path,
we need to free it. Fix it.

Fixes: d4e0fe01a38a ("igbvf: add new driver to support 82576 virtual functions")
Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Tested-by: Marek Szlosek <marek.szlosek@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/intel/igbvf/netdev.c