projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea4152e
)
batman-adv: Indicate netlink socket can be used with netns.
author
Andrew Lunn
<
[email protected]
>
Sun, 3 Jul 2016 11:31:48 +0000
(13:31 +0200)
committer
Simon Wunderlich
<
[email protected]
>
Tue, 9 Aug 2016 05:54:43 +0000
(07:54 +0200)
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]
>
net/batman-adv/netlink.c
patch
|
blob
|
history
diff --git
a/net/batman-adv/netlink.c
b/net/batman-adv/netlink.c
index c3f68167591d64e62511bdfdc790f7b501fc5452..18831e72b0fba53ee3afc77d4561c27de2bb1214 100644
(file)
--- 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 */