summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorJijie Shao <shaojijie@huawei.com>2025-05-17 12:58:27 +0300
committerJakub Kicinski <kuba@kernel.org>2025-05-22 01:53:51 +0300
commit009970506c92816c857e1705cf6db68c9147d39f (patch)
tree6287b329aa9c1bbe31a4e899d597b352aab61ffa /scripts/lib
parentb95ed5517354a5f451fb9b3771776ca4c0b65ac3 (diff)
downloadlinux-009970506c92816c857e1705cf6db68c9147d39f.tar.xz
net: hibmcge: fix incorrect statistics update issue
When the user dumps statistics, the hibmcge driver automatically updates all statistics. If the driver is performing the reset operation, the error data of 0xFFFFFFFF is updated. Therefore, if the driver is resetting, the hbg_update_stats_by_info() needs to return directly. Fixes: c0bf9bf31e79 ("net: hibmcge: Add support for dump statistics") Signed-off-by: Jijie Shao <shaojijie@huawei.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20250517095828.1763126-2-shaojijie@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions