diff options
author | Tom Parkin <tparkin@katalix.com> | 2013-01-31 23:43:01 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-05 14:20:30 -0500 |
commit | b6fdfdfab0c57d4a62359277c09258bc2f5a1550 (patch) | |
tree | 23b8eee8bcf463c23a8068246cad2dc5b18b2617 | |
parent | f8ccac0e44934ff9414b31cc3167a5c828afec73 (diff) | |
download | linux-3.10-b6fdfdfab0c57d4a62359277c09258bc2f5a1550.tar.gz linux-3.10-b6fdfdfab0c57d4a62359277c09258bc2f5a1550.tar.bz2 linux-3.10-b6fdfdfab0c57d4a62359277c09258bc2f5a1550.zip |
l2tp: set netnsok flag for netlink messages
The L2TP netlink code can run in namespaces. Set the netnsok flag in
genl_family to true to reflect that fact.
Signed-off-by: Tom Parkin <tparkin@katalix.com>
Signed-off-by: James Chapman <jchapman@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/l2tp/l2tp_netlink.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/l2tp/l2tp_netlink.c b/net/l2tp/l2tp_netlink.c index bbba3a19e94..c1bab22db85 100644 --- a/net/l2tp/l2tp_netlink.c +++ b/net/l2tp/l2tp_netlink.c @@ -37,6 +37,7 @@ static struct genl_family l2tp_nl_family = { .version = L2TP_GENL_VERSION, .hdrsize = 0, .maxattr = L2TP_ATTR_MAX, + .netnsok = true, }; /* Accessed under genl lock */ |