diff options
| author | Felix Fietkau <nbd@nbd.name> | 2025-07-07 18:47:01 +0300 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2025-07-07 19:02:26 +0300 |
| commit | dc66a129adf1f25e944d0b93cd2df2ee0f0bd4d6 (patch) | |
| tree | 69ba02f6fb12267db71666ed61b86f5ea81fd2ae /tools/perf/scripts/python/intel-pt-events.py | |
| parent | 7035a082348acf1d43ffb9ff735899f8e3863f8f (diff) | |
| download | linux-dc66a129adf1f25e944d0b93cd2df2ee0f0bd4d6.tar.xz | |
wifi: mt76: add a wrapper for wcid access with validation
Several places use rcu_dereference to get a wcid entry without validating
if the index exceeds the array boundary. Fix this by using a helper function,
which handles validation.
Link: https://patch.msgid.link/20250707154702.1726-1-nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
