diff options
author | Dan Carpenter <[email protected]> | 2024-03-21 17:42:18 +0300 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-03-22 18:03:29 -0700 |
commit | 9145e2249ed68af99fdbbbf6111aaf0e2dfb72d0 (patch) | |
tree | f9ab836d2c2bbcc35f084da8094635c9cd41bb48 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | f6c8f5e8694c7a78c94e408b628afa6255cc428a (diff) |
nexthop: fix uninitialized variable in nla_put_nh_group_stats()
The "*hw_stats_used" value needs to be set on the success paths to prevent
an uninitialized variable bug in the caller, nla_put_nh_group_stats().
Fixes: 5072ae00aea4 ("net: nexthop: Expose nexthop group HW stats to user space")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions