linux/drivers/infiniband
Leon Romanovsky c80a0c52d8 RDMA/cma: Add missing error handling of listen_id
Don't silently continue if rdma_listen() fails but destroy previously
created CM_ID and return an error to the caller.

Fixes: d02d1f5359 ("RDMA/cma: Fix deadlock destroying listen requests")
Link: https://lore.kernel.org/r/20201104144008.3808124-5-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2020-11-16 14:34:01 -04:00
..
core RDMA/cma: Add missing error handling of listen_id 2020-11-16 14:34:01 -04:00
hw RDMA/hns: Fix double free of the pointer to TSQ/TPQ 2020-11-12 13:33:44 -04:00
sw RDMA/rxe: Remove VLAN code leftovers from RXE 2020-11-12 11:38:27 -04:00
ulp IB/isert: Do not excplicitly check == false for bool 2020-11-12 12:01:37 -04:00
Kconfig IB/core: Improve ODP to use hmm_range_fault() 2020-10-01 16:39:54 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00