Skip to content

Commit 4c09a08

Browse files
lunnsimonwunderlich
authored andcommitted
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 <[email protected]> Signed-off-by: Simon Wunderlich <[email protected]> Signed-off-by: Sven Eckelmann <[email protected]> Signed-off-by: Marek Lindner <[email protected]>
1 parent ea4152e commit 4c09a08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/batman-adv/netlink.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ struct genl_family batadv_netlink_family = {
5454
.name = BATADV_NL_NAME,
5555
.version = 1,
5656
.maxattr = BATADV_ATTR_MAX,
57+
.netnsok = true,
5758
};
5859

5960
/* multicast groups */

0 commit comments

Comments
 (0)