On Sunday 13 January 2013 17:51:03 Marek Lindner wrote:
From: Sven Eckelmann sven@narfation.org
The sysfs configuration interface of batman-adv to add/remove slaves of an soft-iface is not deadlock free and doesn't follow the currently common way to modify slaves of an interface.
An additional configuration interface though rtnl_link is introduced which provides easy device adding/removing with tools like "ip": $ ip link set dev eth0 master bat0 $ ip link set dev eth0 nomaster
Signed-off-by: Sven Eckelmann sven@narfation.org
Master setting is missing. This is necessary on current kernels to use "nomaster" of ip. Also reference counting is br0ken. An example patch is added (just to explain things... it will not apply directly).
Kind regards, Sven