RDMA/hns: Add reference count for ucontext
driver inclusion category: bugfix bugzilla: NA CVE: NA Because OFED does not guarantee the order of execution of hns_roce_vma_close and hns_roce_dealloc_ucontext, driver needs to increase the reference count of the "context" to ensure that the "context" will not be released when hns_roce_dealloc_ucontext is executed first, until the vma that depends on the "context" is completely released, then the "context" is released. Feature or Bugfix:Bugfix Signed-off-by: NYangyang Li <liyangyang20@huawei.com> Reviewed-by: Nwangxi <wangxi11@huawei.com> Reviewed-by: Noulijun <oulijun@huawei.com> Reviewed-by: Nliuyixian <liuyixian@huawei.com> Reviewed-by: NYang Yingliang <yangyingliang@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录