On Thursday 28 April 2016 22:37:19 Andrew Lunn wrote: > batman-adv tries to prevent the user from placing a batX soft > interface into another batman mesh as a hard interface. It does this > by walking up the devices list of parents and ensures they are all > none batX interfaces. iflink can point to an interface in a different > namespace, so also retrieve the parents name space when finding the > parent and use it when doing the comparison. > > Signed-off-by: Andrew Lunn <[email protected]> > Acked-by: Antonio Quartulli <[email protected]> > --- > net/batman-adv/hard-interface.c | 31 ++++++++++++++++++++++++------- > 1 file changed, 24 insertions(+), 7 deletions(-)
You can find the missing includes in the attached patch
Kind regards,
SvenFrom: Sven Eckelmann <[email protected]> Date: Fri, 29 Apr 2016 20:26:24 +0200 Subject: [PATCH] missing includes 1 --- net/batman-adv/hard-interface.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/batman-adv/hard-interface.c b/net/batman-adv/hard-interface.c index e0cd7ce..2dfbb84 100644 --- a/net/batman-adv/hard-interface.c +++ b/net/batman-adv/hard-interface.c @@ -36,6 +36,8 @@ #include <linux/slab.h> #include <linux/spinlock.h> #include <linux/workqueue.h> +#include <net/net_namespace.h> +#include <net/rtnetlink.h> #include "bridge_loop_avoidance.h" #include "debugfs.h"
signature.asc
Description: This is a digitally signed message part.
