TencentOS-kernel/drivers/infiniband/ulp
Wang Wensheng 293cefa3c1 RDMA/srpt: Fix error return code in srpt_cm_req_recv()
[ Upstream commit 6bc950beff0c440ac567cdc4e7f4542a9920953d ]

Fix to return a negative error code from the error handling case instead
of 0, as done elsewhere in this function.

Fixes: db7683d7deb2 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-20 16:07:57 +08:00
..
ipoib RDMA/ipoib: Set rtnl_link_ops for ipoib interfaces 2021-03-16 16:38:56 +08:00
iser IB/iser: Always check sig MR before putting it to the free pool 2021-03-16 16:37:08 +08:00
isert IB/isert: Fix unaligned immediate-data handling 2021-03-16 16:35:53 +08:00
opa_vnic Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
srp Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
srpt RDMA/srpt: Fix error return code in srpt_cm_req_recv() 2021-05-20 16:07:57 +08:00
Makefile Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00