mac80211: Remove mesh paths when an interface is removed
When an interface is removed, the mesh paths associated with it should also be removed. This fixes a bug we observed when reloading a device driver module without reloading mac80211s. Signed-off-by: Javier Cardona <javier@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
af089c15cb
commit
ece1a2e7e8
@ -921,7 +921,7 @@ static int ieee80211_del_mpath(struct wiphy *wiphy, struct net_device *dev,
|
||||
if (dst)
|
||||
return mesh_path_del(dst, sdata);
|
||||
|
||||
mesh_path_flush(sdata);
|
||||
mesh_path_flush_by_iface(sdata);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user