Kazuki Shimada wrote: [...]
"exit softif_destroy\n" is not printed out. unregister_netdev?
Thanks, perfect work. This is a new bug which was added in the multiple mesh patchset. The problem is that the rtnl lock is taken and we still use unregister_netdev when we process an event using hard_if_event.
I have to check other code paths to ensure that I don't destroy other things, but a workaround for you would be to use unregister_netdevice instead of unregister_netdev in that situation. (Just check v0.2.1-30-g992bfd1 for more information on that subject).
The problem is that softif_destroy is also called when we unloading the module - which means that it assumes that the rtnl lock is taken (which it is not when you don't use unregister_netdev there). So I will work on a complete fix and Cc it to you.
Thanks, Sven