diff options
author | Taehee Yoo <ap420073@gmail.com> | 2025-03-16 05:58:37 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-03-21 21:21:04 +0300 |
commit | 919f9f497dbcee75d487400e8f9815b74a6a37df (patch) | |
tree | d90fa37cc815b12be05fe0c7bd418f65f4371cdb /tools/perf/scripts/python/stackcollapse.py | |
parent | f653b608f78363c26dc4ffd6c2465eb743ebdc13 (diff) | |
download | linux-919f9f497dbcee75d487400e8f9815b74a6a37df.tar.xz |
eth: bnxt: fix out-of-range access of vnic_info array
The bnxt_queue_{start | stop}() access vnic_info as much as allocated,
which indicates bp->nr_vnics.
So, it should not reach bp->vnic_info[bp->nr_vnics].
Fixes: 661958552eda ("eth: bnxt: do not use BNXT_VNIC_NTUPLE unconditionally in queue restart logic")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Link: https://patch.msgid.link/20250316025837.939527-1-ap420073@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions