* [PATCH] mac80211: free peer keys before vif down in mesh
@ 2019-05-28 23:36 Pradeep Kumar Chitrapu
0 siblings, 0 replies; only message in thread
From: Pradeep Kumar Chitrapu @ 2019-05-28 23:36 UTC (permalink / raw)
To: Johannes Berg; +Cc: linux-wireless, Pradeep Kumar Chitrapu
freeing peer keys after vif down is resulting in peer key uninstall
to fail due to interface lookup failure. so fix that.
Signed-off-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>
---
net/mac80211/mesh.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/mac80211/mesh.c b/net/mac80211/mesh.c
index 766e5e5bab8a..bd68f5a87b26 100644
--- a/net/mac80211/mesh.c
+++ b/net/mac80211/mesh.c
@@ -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 */
--
2.1.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-05-28 23:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-28 23:36 [PATCH] mac80211: free peer keys before vif down in mesh Pradeep Kumar Chitrapu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox