浏览代码

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>
Andrew Lunn 9 年之前
父节点
当前提交
4c09a08b47
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      net/batman-adv/netlink.c

+ 1 - 0
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 */