[07/10] batman-adv: add B.A.T.M.A.N. V bat_{orig, neigh}_dump implementations

Message ID 3524730.XqCTiFIBvg@sven-edge (mailing list archive)
State Not Applicable, archived
Headers

Commit Message

Sven Eckelmann April 29, 2016, 7:15 p.m. UTC
  On Thursday 28 April 2016 22:37:25 Andrew Lunn wrote:
> From: Matthias Schiffer <mschiffer@universe-factory.net>
> 
> Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
> ---
>  include/uapi/linux/batman_adv.h |   1 +
>  net/batman-adv/bat_v.c          | 250
> ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 251 insertions(+)

You can find the missing includes in the attached patch

Kind regards,
	Sven
  

Patch

From: Sven Eckelmann <sven@narfation.org>
Date: Fri, 29 Apr 2016 20:58:10 +0200
Subject: [PATCH] missing includes 7
---
 net/batman-adv/bat_v.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/net/batman-adv/bat_v.c b/net/batman-adv/bat_v.c
index 1630684..cb890b7 100644
--- a/net/batman-adv/bat_v.c
+++ b/net/batman-adv/bat_v.c
@@ -21,14 +21,19 @@ 
 #include <linux/atomic.h>
 #include <linux/bug.h>
 #include <linux/cache.h>
+#include <linux/errno.h>
+#include <linux/if_ether.h>
 #include <linux/init.h>
 #include <linux/jiffies.h>
 #include <linux/netdevice.h>
+#include <linux/netlink.h>
 #include <linux/rculist.h>
 #include <linux/rcupdate.h>
 #include <linux/seq_file.h>
 #include <linux/types.h>
 #include <linux/workqueue.h>
+#include <net/genetlink.h>
+#include <net/netlink.h>
 #include <uapi/linux/batman_adv.h>
 
 #include "bat_v_elp.h"
@@ -39,6 +44,8 @@ 
 #include "originator.h"
 #include "packet.h"
 
+struct sk_buff;
+
 static void batadv_v_iface_activate(struct batadv_hard_iface *hard_iface)
 {
 	/* B.A.T.M.A.N. V does not use any queuing mechanism, therefore it can