RDMA/hns: Fixup bug of null point checking
driver inclusion category: bugfix bugzilla: NA CVE: NA In addition to the error value, we should also check the ib_umem_get return null pointer. Signed-off-by: NLang Cheng <chenglang@huawei.com> Reviewed-by: NHanjun Guo <guohanjun@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录