From: Tom Parkin Date: Thu, 31 Jan 2013 23:43:01 +0000 (+0000) Subject: l2tp: set netnsok flag for netlink messages X-Git-Tag: v3.12-rc1~1418^2~163 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b6fdfdfab0c57d4a62359277c09258bc2f5a1550;p=kernel%2Fkernel-generic.git 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 Signed-off-by: James Chapman Signed-off-by: David S. Miller --- diff --git a/net/l2tp/l2tp_netlink.c b/net/l2tp/l2tp_netlink.c index bbba3a1..c1bab22 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 */