From: Sven Eckelmann Date: Tue, 27 Oct 2020 14:49:57 +0000 (+0100) Subject: batman-adv: Fix missing include for backported 2020.4 patch X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7448ab9d65e45ffbc89acb4a1645782edd808291;p=feed%2Frouting.git batman-adv: Fix missing include for backported 2020.4 patch The build can fail in some configurations because the include for batadv_send_skb_unicast was missing in batman-adv 2018.1. Reported-by: Martin Weinelt Fixes: c197ddb22531 ("batman-adv: Merge bugfixes from 2020.4") Signed-off-by: Sven Eckelmann --- diff --git a/batman-adv/patches/0052-batman-adv-mcast-fix-duplicate-mcast-packets-in-BLA-.patch b/batman-adv/patches/0052-batman-adv-mcast-fix-duplicate-mcast-packets-in-BLA-.patch index 46eb33f..07e7d27 100644 --- a/batman-adv/patches/0052-batman-adv-mcast-fix-duplicate-mcast-packets-in-BLA-.patch +++ b/batman-adv/patches/0052-batman-adv-mcast-fix-duplicate-mcast-packets-in-BLA-.patch @@ -41,10 +41,10 @@ Signed-off-by: Sven Eckelmann Origin: backport, https://git.open-mesh.org/batman-adv.git/commit/3c39a2455a5be02ecceeaf1a15976bddd611392e diff --git a/net/batman-adv/multicast.c b/net/batman-adv/multicast.c -index 39640d3d6fbdf8244344db6e79f2d769eb0972d9..adfad7cb34b4d3a8b6ebffd6b19854616ca0f97b 100644 +index 39640d3d6fbdf8244344db6e79f2d769eb0972d9..764c304ffa5f6dc976050fa6b6f6e0891981c4f4 100644 --- a/net/batman-adv/multicast.c +++ b/net/batman-adv/multicast.c -@@ -62,6 +62,7 @@ +@@ -62,10 +62,12 @@ #include #include @@ -52,7 +52,12 @@ index 39640d3d6fbdf8244344db6e79f2d769eb0972d9..adfad7cb34b4d3a8b6ebffd6b1985461 #include "hard-interface.h" #include "hash.h" #include "log.h" -@@ -1027,6 +1028,35 @@ batadv_mcast_forw_mode(struct batadv_priv *bat_priv, struct sk_buff *skb, + #include "netlink.h" ++#include "send.h" + #include "soft-interface.h" + #include "translation-table.h" + #include "tvlv.h" +@@ -1027,6 +1029,35 @@ batadv_mcast_forw_mode(struct batadv_priv *bat_priv, struct sk_buff *skb, } }