diff options
| author | Muhammad Usama Anjum <usama.anjum@collabora.com> | 2022-01-21 15:08:11 +0800 |
|---|---|---|
| committer | Kalle Valo <kvalo@kernel.org> | 2022-01-31 17:46:58 +0200 |
| commit | a12f809968dbf46ce2a6bc94463db8d431bb75fc (patch) | |
| tree | ab6d558335757e4feae703c1dfce80738fd40bac /include | |
| parent | 8ec10f1576d633a65118c0aad9e08b7684acd514 (diff) | |
| download | cachepc-linux-a12f809968dbf46ce2a6bc94463db8d431bb75fc.tar.gz cachepc-linux-a12f809968dbf46ce2a6bc94463db8d431bb75fc.zip | |
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 <usama.anjum@collabora.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220121070813.9656-2-pkshih@realtek.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
