]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - net/mac80211/sta_info.c
mac80211: add pre-RCU-sync sta removal driver operation
[mirror_ubuntu-jammy-kernel.git] / net / mac80211 / sta_info.c
index 8ae37f60d60c0c03d6d1201cbdcea5ed4662ea83..1e147742eccf594421e6d319e1c038394cd94557 100644 (file)
@@ -873,6 +873,8 @@ int __must_check __sta_info_destroy(struct sta_info *sta)
 
        list_del_rcu(&sta->list);
 
+       drv_sta_pre_rcu_remove(local, sta->sdata, sta);
+
        /* this always calls synchronize_net() */
        ieee80211_free_sta_keys(local, sta);