diff options
author | Miri Korenblit <miriam.rachel.korenblit@intel.com> | 2024-12-29 16:44:36 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2025-01-13 15:26:41 +0100 |
commit | cf704a7624f99eb2ffca1a16c69183e85544a613 (patch) | |
tree | d4c6a56b74591c886fbb8eb425c625b4ebbb16df /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7e44bd09f7cdb05a669362847c98dc9d3bfa13ab (diff) |
wifi: iwlwifi: mvm: avoid NULL pointer dereference
When iterating over the links of a vif, we need to make sure that the
pointer is valid (in other words - that the link exists) before
dereferncing it.
Use for_each_vif_active_link that also does the check.
Fixes: 2b7ee1a10a72 ("wifi: iwlwiif: mvm: handle the new BT notif")
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Link: https://patch.msgid.link/20241229164246.31d41f7d3eab.I7fb7036a0b187c1636b01970207259cb2327952c@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions