Hi all,
I found a bug playing with my interfaces while bat0 was active. The bug is described here: http://www.open-mesh.org/issues/148 The steps to reproduce it are reported too.
In a few words, when trying to unregister a device by unloading its module, the modprobe hangs and in the dmesg I can see this message:
unregister_netdevice: waiting for wlan0 to become free. Usage count = 1
I tried to do some tests and what I observed is that hard_iface->refcount doesn't reach 0. This means that hard_iface_free_rcu() is never invoked and dev_put() too.
I hope the information are enough..
Regards,