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:
Sven Eckelmann 2021-08-22 08:56:28 +02:00
parent f399156f45
commit 7684cdd73d
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ inline void __batadv_br_ip_list_check(void)
#if LINUX_VERSION_IS_LESS(5, 14, 0)
#include <linux/if_bridge.h>
#include <net/addrconf.h>
#if IS_ENABLED(CONFIG_IPV6)