diff options
| author | Muhammad Usama Anjum <[email protected]> | 2022-01-21 15:08:11 +0800 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2022-01-31 17:46:58 +0200 |
| commit | a12f809968dbf46ce2a6bc94463db8d431bb75fc (patch) | |
| tree | ab6d558335757e4feae703c1dfce80738fd40bac /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 8ec10f1576d633a65118c0aad9e08b7684acd514 (diff) | |
rtw88: check for validity before using a pointer
ieee80211_probereq_get() can return NULL. Pointer skb should be checked
for validty before use. If it is not valid, list of skbs needs to be
freed.
Fixes: 10d162b2ed39 ("rtw88: 8822c: add ieee80211_ops::hw_scan")
Signed-off-by: Muhammad Usama Anjum <[email protected]>
Signed-off-by: Ping-Ke Shih <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions