diff options
author | Andrew Lunn <andrew@lunn.ch> | 2016-07-03 13:31:48 +0200 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2016-08-09 07:54:43 +0200 |
commit | 4c09a08b47ffac9aa3bc91870aa54c9ae39d9674 (patch) | |
tree | 7bc88f5fba3701ba71c3dd8e8a8e58453ed1c1bd /net/batman-adv | |
parent | ea4152e1171604f325f1a5f080190823a0edbc1f (diff) | |
download | linux-4c09a08b47ffac9aa3bc91870aa54c9ae39d9674.tar.gz linux-4c09a08b47ffac9aa3bc91870aa54c9ae39d9674.tar.bz2 linux-4c09a08b47ffac9aa3bc91870aa54c9ae39d9674.zip |
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>
Diffstat (limited to 'net/batman-adv')
-rw-r--r-- | net/batman-adv/netlink.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/batman-adv/netlink.c b/net/batman-adv/netlink.c index c3f68167591d..18831e72b0fb 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 */ |