Commit acf0dea8 authored by Boshi Yu's avatar Boshi Yu Committed by Greg Kroah-Hartman
Browse files

RDMA/erdma: Fix ignored return value of init_kernel_qp



[ Upstream commit d5c74713 ]

The init_kernel_qp interface may fail. Check its return value and free
related resources properly when it does.

Fixes: 15505577 ("RDMA/erdma: Add verbs implementation")
Reviewed-by: default avatarCheng Xu <chengyou@linux.alibaba.com>
Signed-off-by: default avatarBoshi Yu <boshiyu@linux.alibaba.com>
Link: https://patch.msgid.link/20250725055410.67520-3-boshiyu@linux.alibaba.com


Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 76588276
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment