1
0
Fork 0
alistair23-linux/drivers/infiniband
Parav Pandit 9269296721 IB/mlx5: Fix error unwinding when set_has_smi_cap fails
commit 2cb091f629 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:26:18 +01:00
..
core RDMA/restrack: Don't treat as an error allocation ID wrapping 2021-01-19 18:26:17 +01:00
hw IB/mlx5: Fix error unwinding when set_has_smi_cap fails 2021-01-19 18:26:18 +01:00
sw RDMA/rxe: Compute PSN windows correctly 2020-12-30 11:51:02 +01:00
ulp RDMA/ipoib: Set rtnl_link_ops for ipoib interfaces 2020-10-29 09:57:51 +01:00
Kconfig RMDA/sw: Don't allow drivers using dma_virt_ops on highmem configs 2020-11-24 13:29:05 +01:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00