RDMA/hns: Fix a missing kfree() to hr_dev->priv
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7A2V2 --------------------------------------------------------------- When vf check fails, the current code dealloc ib_dev without kfree hr_dev->priv. This patch fixes this error. Fixes: a39f16a1 ("RDMA/hns: fix the error of RoCE VF based on RoCE Bonding PF") Signed-off-by: NJunxian Huang <huangjunxian6@hisilicon.com>
Showing
想要评论请 注册 或 登录