]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Wed, 5 Apr 2023 09:16:36 +0000 (11:16 +0200)
commit9591f8130f6d94fba29a3908405677716b478aa4
treee74bcb973a9b1cc1fb09c66bd2bc9b1d2d2b1b02
parent532fd056bcfa12abdffe6cdb5662c71b9897edf5
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: ac92e453a368 ("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