linux_dsm_epyc7002/drivers/infiniband/hw
Parav Pandit 5cd483a7e7 IB/mlx5: Fix error unwinding when set_has_smi_cap fails
commit 2cb091f6293df898b47f4e0f2e54324e2bbaf816 upstream.

When set_has_smi_cap() fails, multiport master cleanup is missed. Fix it
by doing the correct error unwinding goto.

Fixes: a989ea01cb ("RDMA/mlx5: Move SMI caps logic")
Link: https://lore.kernel.org/r/20210113121703.559778-3-leon@kernel.org
Signed-off-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-01-19 18:27:32 +01:00
..
bnxt_re RDMA/bnxt_re: Fix entry size during SRQ create 2020-12-30 11:52:57 +01:00
cxgb4 RDMA/cxgb4: Validate the number of CQEs 2020-12-30 11:53:19 +01:00
efa RDMA/efa: Use the correct current and new states in modify QP 2020-12-01 20:53:48 -04:00
hfi1 IB/hfi1: Ensure correct mm is used at all times 2020-11-25 20:30:46 -04:00
hns RDMA/hns: Avoid filling sl in high 3 bits of vlan_id 2021-01-17 14:16:53 +01:00
i40iw RDMA/i40iw: Address an mmap handler exploit in i40iw 2020-11-25 10:38:11 -04:00
mlx4 RDMA: Explicitly pass in the dma_device to ib_register_device 2020-10-16 13:53:46 -03:00
mlx5 IB/mlx5: Fix error unwinding when set_has_smi_cap fails 2021-01-19 18:27:32 +01:00
mthca RDMa/mthca: Work around -Wenum-conversion warning 2020-12-30 11:53:08 +01:00
ocrdma RDMA/ocrdma: Fix use after free in ocrdma_dealloc_ucontext_pd() 2021-01-19 18:27:21 +01:00
qedr RDMA/qedr: iWARP invalid(zero) doorbell address fix 2020-12-01 20:52:07 -04:00
qib Merge branch 'mlx5_active_speed' into rdma.git for-next 2020-09-18 10:31:45 -03:00
usnic RDMA/usnic: Fix memleak in find_free_vf_and_create_qp_grp 2021-01-19 18:27:31 +01:00
vmw_pvrdma RDMA/pvrdma: Fix missing kfree() in pvrdma_register_device() 2020-11-12 13:05:46 -04:00
Makefile RDMA/iw_cxgb3: Remove the iw_cxgb3 module from kernel 2019-10-04 15:08:59 -03:00