# Re: \[PATCH for-next 1/4\] RDMA/efa: Free IRQ vectors on error flow

- From: Jason Gunthorpe \<jgg@nvidia.com\>
- Date: 2021-08-20 18:34:34 
- List: linux-rdma
- Page: https://ratatoskr.run/linux-rdma/2021/08/15464719
- Thread: https://ratatoskr.run/linux-rdma/2021/08/15464629/t.md

```text
On Wed, Aug 11, 2021 at 06:11:28PM +0300, Gal Pressman wrote:
> Make sure to free the IRQ vectors in case the allocation doesn't return
> the expected number of IRQs.
> 
> Fixes: b7f5e880f377 ("RDMA/efa: Add the efa module")
> Reviewed-by: Firas JahJah <redacted>
> Reviewed-by: Yossi Leybovich <sleybo@amazon.com>
> Signed-off-by: Gal Pressman <redacted>
> ---
>  drivers/infiniband/hw/efa/efa_main.c | 1 +
>  1 file changed, 1 insertion(+)

Applied to for-rc, thanks

Jason
```
