[B.A.T.M.A.N.] [PATCH 08/10] batman-adv: Indicate netlink socket can be used with netns.

Andrew Lunn
2016-04-28T20:37:26Z

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>
---
net/batman-adv/netlink.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/net/batman-adv/netlink.c b/net/batman-adv/netlink.c
index 3b40eb5..120e6cc 100644
--- a/net/batman-adv/netlink.c
+++ b/net/batman-adv/netlink.c
@@ -33,6 +33,7 @@ struct genl_family batadv_netlink_family = {
.name = BATADV_NL_NAME,
.version = 1,
.maxattr = BATADV_ATTR_MAX,
+ .netnsok = true,
};

static int
--
2.8.0.rc3