diff options
| author | Johannes Berg <[email protected]> | 2020-02-21 10:45:45 +0100 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2020-02-21 12:11:39 +0100 |
| commit | ca98c47d54d76d2c3f59f8f66530362562914b6b (patch) | |
| tree | 2bdc647769574250dc34fb40b95b4e9cec282de8 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 3ee9306b353bdd0c0cd7cd3a549233e1ad44b608 (diff) | |
mac80211: check vif pointer before airtime calculation
In case of monitor mode injection, vif may be NULL, don't crash
on that in ieee80211_calc_expected_tx_airtime().
Signed-off-by: Johannes Berg <[email protected]>
Acked-by: Toke Høiland-Jørgensen <[email protected]>
Link: https://lore.kernel.org/r/20200221104544.dddb7a3568fd.I0ede2733a3c76e95daeab07538449ea847e7b78d@changeid
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions