mac80211: Remove mesh paths when an interface is removed
authorJavier Cardona <javier@cozybit.com>
Mon, 29 Aug 2011 20:23:04 +0000 (13:23 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Sep 2011 19:42:32 +0000 (15:42 -0400)
commitece1a2e7e86078c8379937b546e32cb7f25fcb6c
treef15c838069746175237e3639f85e800d712f88b9
parentaf089c15cb13e1c5d984e41f495c8363dd5b1e30
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>
net/mac80211/cfg.c
net/mac80211/iface.c
net/mac80211/mesh.h
net/mac80211/mesh_pathtbl.c