linux-brain/drivers/infiniband/hw
Gal Pressman bb8ca7e2e6 RDMA/efa: Free IRQ vectors on error flow
[ Upstream commit dbe986bdfd6dfe6ef24b833767fff4151e024357 ]

Make sure to free the IRQ vectors in case the allocation doesn't return
the expected number of IRQs.

Fixes: b7f5e880f3 ("RDMA/efa: Add the efa module")
Link: https://lore.kernel.org/r/20210811151131.39138-2-galpress@amazon.com
Reviewed-by: Firas JahJah <firasj@amazon.com>
Reviewed-by: Yossi Leybovich <sleybo@amazon.com>
Signed-off-by: Gal Pressman <galpress@amazon.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-03 10:08:13 +02:00
..
bnxt_re RDMA/bnxt_re: Add missing spin lock initialization 2021-09-03 10:08:13 +02:00
cxgb3 RDMA/{cxgb3, cxgb4, i40iw}: Remove common code 2019-08-12 10:19:43 -04:00
cxgb4 RDMA/cxgb4: Fix missing error code in create_qp() 2021-07-19 08:53:09 +02:00
efa RDMA/efa: Free IRQ vectors on error flow 2021-09-03 10:08:13 +02:00
hfi1 IB/hfi1: Fix possible null-pointer dereference in _extend_sdma_tx_descs() 2021-09-03 10:08:13 +02:00
hns RDMA/hns: Fixes missing error code of CMDQ 2021-03-04 10:26:35 +01:00
i40iw RDMA/i40iw: Fix error unwinding when i40iw_hmc_sd_one fails 2021-05-14 09:44:30 +02:00
mlx4 RDMA/core: Sanitize WQ state received from the userspace 2021-07-14 16:53:27 +02:00
mlx5 RDMA/mlx5: Don't access NULL-cleared mpi pointer 2021-07-14 16:53:35 +02:00
mthca RDMa/mthca: Work around -Wenum-conversion warning 2020-12-30 11:51:07 +01:00
ocrdma RDMA/ocrdma: Fix use after free in ocrdma_dealloc_ucontext_pd() 2021-01-19 18:26:12 +01:00
qedr RDMA/qedr: Fix error return code in qedr_iw_connect() 2021-05-14 09:44:28 +02:00
qib IB/qib: Call kobject_put() when kobject_init_and_add() fails 2020-06-03 08:21:19 +02:00
usnic RDMA/usnic: Fix memleak in find_free_vf_and_create_qp_grp 2021-01-19 18:26:18 +01:00
vmw_pvrdma RDMA/pvrdma: Fix missing kfree() in pvrdma_register_device() 2020-11-24 13:29:05 +01:00
Makefile rdma: Remove nes 2019-06-13 09:59:49 -04:00