mirror of
https://github.com/torvalds/linux.git
synced 2026-04-22 00:33:58 -04:00
There are several error cases where 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. Fixes:ee20cc17e9("RDMA/hns: Support DSCP") Fixes:eb7854d63d("RDMA/hns: Support SW stats with debugfs") Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com> Link: https://patch.msgid.link/20240912115700.2016443-1-huangjunxian6@hisilicon.com Signed-off-by: Leon Romanovsky <leon@kernel.org>