Neta Ostrovsky 7c7b3e5d9a RDMA/cma: Fix error flow in default_roce_mode_store
In default_roce_mode_store(), we took a reference to cma_dev, but didn't
return it with cma_dev_put in the error flow.

Fixes: 1c15b4f2a42f ("RDMA/core: Modify enum ib_gid_type and enum rdma_network_type")
Link: https://lore.kernel.org/r/20210113130214.562108-1-leon@kernel.org
Signed-off-by: Neta Ostrovsky <netao@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-01-14 12:53:13 -04:00
..
2015-06-12 14:49:18 -04:00
2020-01-25 15:11:37 -04:00
2020-12-16 13:42:26 -08:00
2020-12-10 15:05:17 -04:00
2020-03-04 14:28:25 -04:00
2020-12-07 15:45:00 -04:00
2020-08-06 16:43:36 -07:00
2019-06-28 21:18:23 -03:00
2018-12-12 07:40:16 -07:00
2016-03-03 10:20:25 -05:00
2020-11-17 15:22:07 -04:00
2020-12-07 15:45:00 -04:00
2018-12-12 07:40:16 -07:00
2020-07-06 14:54:46 -03:00