linux/drivers/infiniband
Gal Pressman e78006b59a RDMA/efa: Free IRQ vectors on error flow
[ Upstream commit dbe986bdfd ]

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:09:24 +02:00
..
core RDMA/cma: Fix rdma_resolve_route() memory leak 2021-07-19 09:44:53 +02:00
hw RDMA/efa: Free IRQ vectors on error flow 2021-09-03 10:09:24 +02:00
sw RDMA/rxe: Don't overwrite errno from ib_umem_get() 2021-07-19 09:44:52 +02:00
ulp IB/isert: Align target max I/O size to initiator size 2021-07-19 09:44:53 +02:00
Kconfig RMDA/sw: Don't allow drivers using dma_virt_ops on highmem configs 2020-11-12 13:27:41 -04:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00