linux/drivers/infiniband
Wang Wensheng 6bc950beff RDMA/srpt: Fix error return code in srpt_cm_req_recv()
Fix to return a negative error code from the error handling case instead
of 0, as done elsewhere in this function.

Fixes: db7683d7de ("IB/srpt: Fix login-related race conditions")
Link: https://lore.kernel.org/r/20210408113132.87250-1-wangwensheng4@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Wensheng <wangwensheng4@huawei.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-04-12 20:18:35 -03:00
..
core IB/cma: Introduce rdma_set_min_rnr_timer() 2021-04-12 19:51:48 -03:00
hw RDMA/i40iw: Use DEFINE_SPINLOCK() for spinlock 2021-04-12 15:37:38 -03:00
sw RDMA/rxe: Fix missing acks from responder 2021-04-08 15:59:28 -03:00
ulp RDMA/srpt: Fix error return code in srpt_cm_req_recv() 2021-04-12 20:18:35 -03:00
Kconfig RDMA/umem: Support importing dma-buf as user memory region 2021-01-20 16:07:52 -04:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00