Please don't remove netdev from this discussion without a reason.
On Saturday 01 December 2012 14:11:08 Antonio Quartulli wrote:
On Sat, Nov 24, 2012 at 01:02:11AM +0100, Sven Eckelmann wrote:
The sysfs configuration interface of batman-adv to add/remove soft-interfaces is not deadlock free and doesn't follow the currently common way to create new virtual interfaces.
An additional interface though rtnl_link is introduced which provides easy device creation/deletion with tools like "ip":
$ ip link add dev bat0 type batadv $ ip link del dev bat0
Signed-off-by: Sven Eckelmann sven@narfation.org
Hello Sven,
why are we adding yet another API? What's the purpose? Is this intended to fix the lock bug we get while using sysfs?
Because this is the normal way to create virtual network devices (please feel free to correct me). And no, it doesn't fix the sysfs problem because the sysfs stuff isn't removed.
Kind regards, Sven