Merge pull request #624 from ecsv/batadv-for-18.06 openwrt-18.06
authorSimon Wunderlich <sw@simonwunderlich.de>
Tue, 27 Oct 2020 16:07:28 +0000 (17:07 +0100)
committerGitHub <noreply@github.com>
Tue, 27 Oct 2020 16:07:28 +0000 (17:07 +0100)
batman-adv: Fix missing include for backported 2020.4 patch

batman-adv/patches/0052-batman-adv-mcast-fix-duplicate-mcast-packets-in-BLA-.patch

index 46eb33fdde6f0032e20951c924c53182c19a34d5..07e7d2784d22c0616bb3ea5920db8f0c9db20680 100644 (file)
@@ -41,10 +41,10 @@ Signed-off-by: Sven Eckelmann <sven@narfation.org>
 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 <uapi/linux/batadv_packet.h>
  #include <uapi/linux/batman_adv.h>
  
@@ -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,
        }
  }