aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorFelix Fietkau <[email protected]>2019-12-21 16:46:53 +0100
committerFelix Fietkau <[email protected]>2020-02-14 10:06:02 +0100
commitd55aa5e17461b8b423adae376978032c4a10a1d8 (patch)
tree3aa77a013e5317f84601636b6117d0c3adc8f1c2 /tools/perf/scripts/python/bin/stackcollapse-record
parentc99dc3c1524de875226528995abbb0294303bd6c (diff)
mt76: mt7603: fix input validation issues for powersave-filtered frames
Before extracting the tid out of the packet, check if it was qos-data. Only accept tid values 0-7 Also, avoid accepting the hardware queue as skb queue mapping, it could lead to an overrun. Instead, derive the hardware queue from the tid number, in order to avoid issues with packets being filtered multiple times. This also fixes a mismatch between hardware and software queue indexes. Signed-off-by: Felix Fietkau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions