diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2022-07-28 17:25:16 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-08-25 11:05:25 +0300 |
commit | 55f0a4894484e8d6ddf662f5aebbf3b4cb028541 (patch) | |
tree | af5236022765bb6604de0758f5ef28e333cc09fc /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d776763f48084926b5d9e25507a3ddb7c9243d5e (diff) | |
download | linux-55f0a4894484e8d6ddf662f5aebbf3b4cb028541.tar.xz |
wifi: mac80211: potential NULL dereference in ieee80211_tx_control_port()
The ieee80211_lookup_ra_sta() function will sometimes set "sta" to NULL
so add this NULL check to prevent an Oops.
Fixes: 9dd1953846c7 ("wifi: nl80211/mac80211: clarify link ID in control port TX")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/YuKcTAyO94YOy0Bu@kili
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions