Skip to content

Commit

Permalink
batman-adv: Indicate netlink socket can be used with netns.
Browse files Browse the repository at this point in the history
Set the netnsof flag on the family structure, indicating it can
be used with different network name spaces.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
  • Loading branch information
Andrew Lunn authored and Simon Wunderlich committed Aug 9, 2016
1 parent ea4152e commit 4c09a08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/batman-adv/netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ struct genl_family batadv_netlink_family = {
.name = BATADV_NL_NAME,
.version = 1,
.maxattr = BATADV_ATTR_MAX,
.netnsok = true,
};

/* multicast groups */
Expand Down

0 comments on commit 4c09a08

Please sign in to comment.