diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2022-01-06 10:18:25 +0300 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2022-02-18 11:40:55 +0300 |
commit | f1cbb0a8ca9db80c086009c88c71464ac50f50a2 (patch) | |
tree | f235f2b65010b1063e8df48810d3eb5d7f3bebc8 /tools/perf/scripts/python/stackcollapse.py | |
parent | 0eb50c674a1eb45dbb21bd19402a90bf338f6199 (diff) | |
download | linux-f1cbb0a8ca9db80c086009c88c71464ac50f50a2.tar.xz |
iwlwifi: mvm: fix off by one in iwl_mvm_stat_iterator_all_macs()
Change the comparison from ">" to ">=" to avoid accessing one element
beyond the end of the ->per_mac_stats[] array.
Fixes: 6324c173ff4a ("iwlwifi: mvm: add support for statistics update version 15")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20220106071825.GA5836@kili
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions