Revision 2cb091f6293df898b47f4e0f2e54324e2bbaf816 authored by Parav Pandit on 13 January 2021, 12:17:00 UTC, committed by Jason Gunthorpe on 14 January 2021, 16:51:18 UTC
When set_has_smi_cap() fails, multiport master cleanup is missed. Fix it
by doing the correct error unwinding goto.

Fixes: a989ea01cb10 ("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>
1 parent b79f2dc
History
File Mode Size
Kconfig -rw-r--r-- 869 bytes
Makefile -rw-r--r-- 220 bytes
README -rw-r--r-- 249 bytes
dir.c -rw-r--r-- 6.7 KB
inode.c -rw-r--r-- 17.1 KB
namei.c -rw-r--r-- 895 bytes
qnx6.h -rw-r--r-- 3.3 KB
super_mmi.c -rw-r--r-- 3.8 KB

README

back to top