[10/10] batman-adv: add B.A.T.M.A.N. Dump BLA claims via netlink

Message ID 14059223.O2V5p1EoNq@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:28 Andrew Lunn wrote:
> Dump the list of bridge loop avoidance claims via the netlink socket.
> 
> Signed-off-by: Andrew Lunn <andrew@lunn.ch>
> ---
>  include/uapi/linux/batman_adv.h        |   6 ++
>  net/batman-adv/bridge_loop_avoidance.c | 162
> +++++++++++++++++++++++++++++++++ net/batman-adv/bridge_loop_avoidance.h | 
>  9 +-
>  net/batman-adv/netlink.c               |   7 ++
>  4 files changed, 183 insertions(+), 1 deletion(-)

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 21:07:57 +0200
Subject: [PATCH] missing includes 10
---
 net/batman-adv/bridge_loop_avoidance.c | 3 +++
 net/batman-adv/bridge_loop_avoidance.h | 1 +
 2 files changed, 4 insertions(+)

diff --git a/net/batman-adv/bridge_loop_avoidance.c b/net/batman-adv/bridge_loop_avoidance.c
index b3fab2a..2e40ada 100644
--- a/net/batman-adv/bridge_loop_avoidance.c
+++ b/net/batman-adv/bridge_loop_avoidance.c
@@ -35,6 +35,7 @@ 
 #include <linux/list.h>
 #include <linux/lockdep.h>
 #include <linux/netdevice.h>
+#include <linux/netlink.h>
 #include <linux/rculist.h>
 #include <linux/rcupdate.h>
 #include <linux/seq_file.h>
@@ -45,6 +46,8 @@ 
 #include <linux/string.h>
 #include <linux/workqueue.h>
 #include <net/arp.h>
+#include <net/genetlink.h>
+#include <net/netlink.h>
 #include <net/sock.h>
 #include <uapi/linux/batman_adv.h>
 
diff --git a/net/batman-adv/bridge_loop_avoidance.h b/net/batman-adv/bridge_loop_avoidance.h
index 2d6acfd..a80b9e9 100644
--- a/net/batman-adv/bridge_loop_avoidance.h
+++ b/net/batman-adv/bridge_loop_avoidance.h
@@ -23,6 +23,7 @@ 
 #include <linux/types.h>
 
 struct net_device;
+struct netlink_callback;
 struct seq_file;
 struct sk_buff;