Loading
RDMA/hns: Fix ah error counter in sw stat not increasing when sl is invalid
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IAQEU6 ---------------------------------------------------------------------- When sl is invalid, hns_roce_create_ah() returns directly without jumping to sw stat path, thus leading to a problem that the ah error counter does not increase in this case. Fixes: ebccb56b ("RDMA/hns: Fix a missing validation check for sl") Signed-off-by:Junxian Huang <huangjunxian6@hisilicon.com> Signed-off-by:
Xinghai Cen <cenxinghai@h-partners.com>