[lkml]   [2012]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[ 12/44] mac80211: cancel mesh path timer
From: Greg KH <>

3.0-stable review patch. If anyone has any objections, please let me know.


From: Johannes Berg <>

commit dd4c9260e7f23f2e951cbfb2726e468c6d30306c upstream.

The mesh path timer needs to be canceled when
leaving the mesh as otherwise it could fire
after the interface has been removed already.

Signed-off-by: Johannes Berg <>
Signed-off-by: Greg Kroah-Hartman <>

net/mac80211/mesh.c | 1 +
1 file changed, 1 insertion(+)

--- a/net/mac80211/mesh.c
+++ b/net/mac80211/mesh.c
@@ -490,6 +490,7 @@ void ieee80211_stop_mesh(struct ieee8021

+ del_timer_sync(&sdata->u.mesh.mesh_path_timer);
* If the timer fired while we waited for it, it will have
* requeued the work. Now the work will be running again

 \ /
  Last update: 2012-08-14 04:03    [W:0.225 / U:14.652 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site