OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5518424
)
mac80211: free peer keys before vif down in mesh
author
Pradeep Kumar Chitrapu
<pradeepc@codeaurora.org>
Tue, 28 May 2019 23:36:16 +0000
(16:36 -0700)
committer
Johannes Berg
<johannes.berg@intel.com>
Wed, 29 May 2019 09:10:15 +0000
(11:10 +0200)
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>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh.c
patch
|
blob
|
history
diff --git
a/net/mac80211/mesh.c
b/net/mac80211/mesh.c
index
d5aba50
..
fe44f0d
100644
(file)
--- 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 */