Loading
RDMA/hns: Fix DCA error path in alloc_wqe_buf()
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IBSE4C ---------------------------------------------------------------------- When hns_roce_map_dca_safe_page() fails in alloc_wqe_buf(), hns_roce_disable_dca() should be called in error path. Fixes: 36f678e7 ("RDMA/hns: Fix possible RAS when DCA is not attached") Signed-off-by:Junxian Huang <huangjunxian6@hisilicon.com> Signed-off-by:
Xinghai Cen <cenxinghai@h-partners.com>