batman-adv: Fix build against kernel 5.10
The linux kernel 5.10 needs an explicit include of linux/if_bridge.h to
define br_multicast_list_adjacent and the struct br_ip_list.
Reported-by: Rosen Penev <rosenp@gmail.com>
Fixes: 47cd2a4b62
("batman-adv: update to version 2021.2")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
parent
f399156f45
commit
7684cdd73d
|
@ -51,6 +51,7 @@ inline void __batadv_br_ip_list_check(void)
|
||||||
|
|
||||||
#if LINUX_VERSION_IS_LESS(5, 14, 0)
|
#if LINUX_VERSION_IS_LESS(5, 14, 0)
|
||||||
|
|
||||||
|
#include <linux/if_bridge.h>
|
||||||
#include <net/addrconf.h>
|
#include <net/addrconf.h>
|
||||||
|
|
||||||
#if IS_ENABLED(CONFIG_IPV6)
|
#if IS_ENABLED(CONFIG_IPV6)
|
||||||
|
|
Loading…
Reference in New Issue