Kazuki Shimada wrote:
P.S. When activating network interfaces under bat0, What about forcing their mtu value to 1527?
Why? Everybody should be able to use it in a environment where he can decide how the mtu looks like. If he thinks that the mtu should be 1337 or 2342 then it is fine for us. He can even (he should not, but he can) use that mtu in a environment where the mtu of the underlying hardware is only 1300 (for example a switch or other hardware only allows that) - thanks goes to Andreas' fragmentation patch for that. There are some restrictions, but as said on different posts: get your mtus right and everything will be fine. :)
So we do it the net/bridge/ way and just accept every mtu and use the minimal mtu of all devices (that's why some patches from me were rejected). It would also be a little bit confusing if a interface used by batman-adv would be change its mtu and silently dropped - or more evil when we try to change the mtu of the used device and the underlying hardware would not support that mtu and everything would start to break.
Best regards, Sven