On Sunday, July 03, 2016 13:31:33 Sven Eckelmann wrote:
> From: Andrew Lunn <[email protected]>
> 
> 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]>
> [[email protected]: Fix alignments, simplify parent netns retrieval]
> Signed-off-by: Sven Eckelmann <[email protected]>
> Signed-off-by: Simon Wunderlich <[email protected]>
> ---
>  compat.h                        |  7 ++++++
>  net/batman-adv/hard-interface.c | 50
> +++++++++++++++++++++++++++++++++++------ 2 files changed, 50
> insertions(+), 7 deletions(-)

Applied in revision bea804d.

Thanks,
Marek

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to