projects
/
feed
/
routing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f399156
)
batman-adv: Fix build against kernel 5.10
721/head
author
Sven Eckelmann
<
[email protected]
>
Sun, 22 Aug 2021 06:56:28 +0000
(08:56 +0200)
committer
Sven Eckelmann
<
[email protected]
>
Sun, 22 Aug 2021 06:56:28 +0000
(08:56 +0200)
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 <
[email protected]
>
Fixes: 47cd2a4b627d ("batman-adv: update to version 2021.2")
Signed-off-by: Sven Eckelmann <
[email protected]
>
batman-adv/src/compat-hacks.h
patch
|
blob
|
history
diff --git
a/batman-adv/src/compat-hacks.h
b/batman-adv/src/compat-hacks.h
index 21c13f7c8fc992e9065976f878d6e407d848ebae..f949f4e198e711385637228780db26329ab1b86d 100644
(file)
--- a/
batman-adv/src/compat-hacks.h
+++ b/
batman-adv/src/compat-hacks.h
@@
-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)