Hey,
thanks a lot for testing and your feedback!
had a look at your patches and found a bug which causes a kernel panic (see attachement). I can reproduce this with the following veeery complicated routine :):
ifconfig bat0 down && ifconfig bat0 up
I tried that but it does not crash at my end. Maybe you did more than you think to provoke this crash ? In my test setup I have 2 nodes with 3 interfaces each. I ran your command several times without seeing any odd behaviour.
The adding and deleting of mesh-port interfaces seems to work fine, the new, more dynamic interface is awesome :). And I just was wondering if you forgot about adding something like "batctl if del all" or did you schedule this for another patch?
Actually, a "delete all" was not on my agenda.
Also some additional abbrevations for add/del would be nice (just "a" and "d" for instance).
Should be no problem - I'll add it before submitting the patches.
Regards, Marek