mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
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>
This commit is contained in:
parent
ea4152e117
commit
4c09a08b47
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ struct genl_family batadv_netlink_family = {
|
|||
.name = BATADV_NL_NAME,
|
||||
.version = 1,
|
||||
.maxattr = BATADV_ATTR_MAX,
|
||||
.netnsok = true,
|
||||
};
|
||||
|
||||
/* multicast groups */
|
||||
|
|
Loading…
Reference in a new issue