Hi folks,
here the updated patchset conceived by Sven Eckelmann for netlink interface creation. Since the first version the following has happened: * the code has been rebased on top of master * batadv_add_slave() / batadv_del_slave() / batadv_interface_free() were renamed to follow general naming conventions * introduced batadv_softif_destroy_netlink() dedicated to netlink deletion * adding clear name separation between batadv_softif_init_early() / batadv_softif_init_late()
Apparently, busybox "ip link" does not support creating interfaces through netlink which is why I was unable to actually test the code in my OpenWrt environments. If any if you know a way of making this work on OpenWrt or are brave enough to run the code natively I'd be interested in getting feedback on whether or not this works. I am certain the code was bug free and ran perfectly fine before I touched it. :)
Cheers, Marek