Commit 4c09a08b authored by Andrew Lunn's avatar Andrew Lunn Committed by Simon Wunderlich

batman-adv: Indicate netlink socket can be used with netns.

Set the netnsof flag on the family structure, indicating it can
be used with different network name spaces.
Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarSimon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>
Signed-off-by: default avatarMarek Lindner <mareklindner@neomailbox.ch>
parent ea4152e1
......@@ -54,6 +54,7 @@ struct genl_family batadv_netlink_family = {
.name = BATADV_NL_NAME,
.version = 1,
.maxattr = BATADV_ATTR_MAX,
.netnsok = true,
};
/* multicast groups */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment