[B.A.T.M.A.N.] batman-adv: Unable to add interface in LXC

2012-12-30 Thread Pau Koning
I am running LXC (SID) under Debian SID and the current git version of batman-adv (v3.7-rc7-1325-gaf5d4f7) +batctl (v2012.4.0-30-ga395164). But it fails to add any of my interfaces and non-batman-adv interfaces can be created without problems # ip link 13: eth0: BROADCAST,MULTICAST,UP,LOWER_UP

[B.A.T.M.A.N.] [PATCH] batman-adv: postpone sysfs removal when unregistering

2012-12-30 Thread Simon Wunderlich
When processing the unregister notify for a hard interface, removing the sysfs files may lead to a circular deadlock (rtnl mutex - s_active). To overcome this problem, postpone the sysfs removal in a worker. Reported-by: Sasha Levin sasha.le...@oracle.com Reported-by: Sven Eckelmann

[B.A.T.M.A.N.] Unterstanding gateway-mode - why does node have a sticky gateway

2012-12-30 Thread Jan Lühr
Hello, I started using batman-adv's gateway mode. Sadly, I ran into some trouble - A client is connected to two gateways via vpn (fastd): # batctl gw_mode client (selection class: 1) # batctl gwl Gateway (#/255) Nexthop [outgoingIF]: gw_class ... [B.A.T.M.A.N. adv