I'm having a tinc-tunnel with the interface named 3micc over the internet here which is in "switch-mode" (so every tunneled package has a complete ethernet-frame which makes batman-adv able to use this interface for OGMs).
When I'm doing the steps in the following order, then everything works fine: 1) sudo modprobe batman-adv 2) sudo ifconfig bat0 up 3) su -c "echo 3micc > /proc/net/batman-adv/interfaces"
But when I'm switching the steps 2) and 3), so first adding the interface and then putting bat0 up, then bat0 suddenly looses its IPv6 link-local addresse. /proc/sys/net/ipv6/conf/bat0 vanished (but ipv4/conf/bat0 is still there). When I'm trying to add an IPv6-address manually with "sudo ip -6 addr add fe80::2ff:e3ff:fe85:b9ca/64 dev bat0" then I get the response "RTNETLINK answers: No buffer space available". But dmesg shows no errors. This problem is reproducable, I've been doing a sudo modprobe -r batman-adv a couple of times and repeating the steps stated above.
I'm running batman-adv-modules-2.6.26-2-486 version 0.1-7+2.6.26-15 on Debian unstable with the same kernel-version.
Cheers, Linus