Hi Juuso, On Mon, 2010-06-07 at 00:52 -0700, Juuso Oikarinen wrote: > There's a window for ieee80211_ifa_changed() to get called whilst the > managed mode mutex has not been initialized when opening and stopping the > interface. Currently this causes a kernel BUG like the following: > > [ 132.460013] kernel BUG at /home/wifi/iwlwifi-2.6/net/mac80211/main.c:380! > [ 132.460013] invalid opcode: 0000 [#1] SMP > > The mutex is initialized during open(), hence once netif_running() is true, > the mutex should be valid. Fix by adding a netif_running() check to the > function. > > Reported-by: Reinette Chatre <reinette.chatre@xxxxxxxxx> > Signed-off-by: Juuso Oikarinen <juuso.oikarinen@xxxxxxxxx> Thank you very much. I've been running with this patch for more than ten iterations of my testing and I have not encountered this issue again. Tested-by: Reinette Chatre <reinette.chatre@xxxxxxxxx> Reinette -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html