Skip to content
Commit d302c6e3 authored by Yangyang Li's avatar Yangyang Li Committed by Doug Ledford
Browse files

RDMA/hns: Release qp resources when failed to destroy qp

Even if no response from hardware, we should make sure that qp related
resources are released to avoid memory leaks.

Fixes: 926a01dc

 ("RDMA/hns: Add QP operations support for hip08 SoC")
Signed-off-by: default avatarYangyang Li <liyangyang20@huawei.com>
Signed-off-by: default avatarWeihang Li <liweihang@hisilicon.com>
Link: https://lore.kernel.org/r/1570584110-3659-1-git-send-email-liweihang@hisilicon.com
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 3dcad1f8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment