On Thursday 30 June 2016 10:09:25 Linus Lüssing wrote:
Since recently the multicast optimizations are using functions from the bridge module. If batman-adv is a kernel built-in, then these bridge functions need to be accessible immediately. Thus adding a Kconfig dependency for the multicast optimizations to depend on batman-adv being built as a module if the bridge is built as a module, too.
[...]
config BATMAN_ADV_MCAST bool "Multicast optimisation"
- depends on BATMAN_ADV && INET
- depends on BATMAN_ADV && INET && !(BRIDGE=m && BATMAN_ADV=y) default n help This option enables the multicast optimisation which aims to
The used functions are provided via stubs in include/linux/if_bridge.h when bridge is disabled. So the symbols are only missing when the batman-adv code is compiled as part of the kernel but the bridge code is compiled as modules. So this change seems to make sense.
Reviewed-by: Sven Eckelmann sven@narfation.org
It is now part of the linux-merge.git.
Kind regards, Sven