Skip to contentSkip to conversation

mac80211: free peer keys before vif down in mesh

PATCH New Pradeep Kumar Chitrapu 1 participant 1 message May 28, 2019 mac80211

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mac80211: free peer keys before vif down in mesh

freeing peer keys after vif down is resulting in peer key uninstall to fail due to interface lookup failure. so fix that.

---
 net/mac80211/mesh.c | 1 +
 1 file changed, 1 insertion(+)
net/mac80211/mesh.c +1 -0
index 766e5e5bab8a..bd68f5a87b26 100644
@@ -929,6 +929,7 @@ void ieee80211_stop_mesh(struct ieee80211_sub_if_data *sdata)
 
 	/* flush STAs and mpaths on this iface */
 	sta_info_flush(sdata);
+	ieee80211_free_keys(sdata, true);
 	mesh_path_flush_by_iface(sdata);
 
 	/* stop the beacon */
Signature · 1 line
2.1.2