diff options
| author | Lorenzo Bianconi <lorenzo@kernel.org> | 2025-08-30 00:26:47 +0200 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2025-09-15 09:47:39 +0200 |
| commit | fe5fffadc6c77c56f122cf1042dc830f59e904bf (patch) | |
| tree | eddc0c8a60aa4d1c6f684b3902c7942bc9ed08ad /tools/perf/scripts/python/stackcollapse.py | |
| parent | afff4325548f0cf872e404df2856bf8bd9581c7e (diff) | |
wifi: mt76: mt7996: Check phy before init msta_link in mt7996_mac_sta_add_links()
In order to avoid a possible NULL pointer dereference in
mt7996_mac_sta_init_link routine, move the phy pointer check before
running mt7996_mac_sta_init_link() in mt7996_mac_sta_add_links routine.
Fixes: dd82a9e02c054 ("wifi: mt76: mt7996: Rely on mt7996_sta_link in sta_add/sta_remove callbacks")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20250830-mt7996_mac_sta_add_links-fix-v1-1-4219fb8755ee@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
