The following commit has been merged in the master branch: commit 4c09a08b47ffac9aa3bc91870aa54c9ae39d9674 Author: Andrew Lunn andrew@lunn.ch Date: Sun Jul 3 13:31:48 2016 +0200
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: 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
diff --git a/net/batman-adv/netlink.c b/net/batman-adv/netlink.c index c3f6816..18831e7 100644 --- a/net/batman-adv/netlink.c +++ b/net/batman-adv/netlink.c @@ -54,6 +54,7 @@ struct genl_family batadv_netlink_family = { .name = BATADV_NL_NAME, .version = 1, .maxattr = BATADV_ATTR_MAX, + .netnsok = true, };
/* multicast groups */
linux-merge@lists.open-mesh.org