aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2021-01-17 13:10:28 +0200
committerLuca Coelho <[email protected]>2021-02-05 11:52:24 +0200
commitafc857bc2a71905b23bbe1894dbadb2915a3ac4d (patch)
tree7a0e69dba312c8a70a4c03e7086ede0077abb73a /tools/perf/scripts/python/netdev-times.py
parent4832bb371c4175ffb506a96accbb08ef2b2466e7 (diff)
iwlwifi: mvm: add notification size checks
We shouldn't trust the firmware with the sizes (or contents) of notifications, accessing too much data could cause page faults if the data doesn't fit into the allocated space. This applies more on older NICs where multiple notifications can be in a single RX buffer. Add a general framework for checking a minimum size of any notification in the RX handlers and use it for most. Some RX handlers were already checking and I've moved the checks, some more complex checks I left and made them _NO_SIZE for the RX handlers. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Luca Coelho <[email protected]> Link: https://lore.kernel.org/r/iwlwifi.20210117130510.3e155d5e5f90.I2121fa4ac7cd7eb98970d84b793796646afa3eed@changeid Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions