[Intel-wired-lan] [PATCH net, v2] intel/igbvf: free irq on the error path in igbvf_request_msix()

Szlosek, Marek marek.szlosek at intel.com
Wed Mar 8 14:42:24 UTC 2023


> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Gaosheng Cui
> Sent: wtorek, 22 listopada 2022 03:29
> To: Brandeburg, Jesse <jesse.brandeburg at intel.com>; Nguyen, Anthony L
> <anthony.l.nguyen at intel.com>; davem at davemloft.net;
> edumazet at google.com; kuba at kernel.org; pabeni at redhat.com;
> alexander.h.duyck at intel.com; jeffrey.t.kirsher at intel.com;
> cuigaosheng1 at huawei.com
> Cc: netdev at vger.kernel.org; intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH net, v2] intel/igbvf: free irq on the error
> path in igbvf_request_msix()
> 
> 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 at huawei.com>
> Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski at intel.com>
> ---
>  drivers/net/ethernet/intel/igbvf/netdev.c | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/ethernet/intel/igbvf/netdev.c
> b/drivers/net/ethernet/intel/igbvf/netdev.c
> index 3a32809510fc..72cb1b56e9f2 100644
> --- a/drivers/net/ethernet/intel/igbvf/netdev.c
> +++ b/drivers/net/ethernet/intel/igbvf/netdev.c

Tested-by: Marek Szlosek <marek.szlosek at intel.com>


More information about the Intel-wired-lan mailing list