Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b6fdfdfa authored by Tom Parkin's avatar Tom Parkin Committed by David S. Miller
Browse files

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: default avatarTom Parkin <tparkin@katalix.com>
Signed-off-by: default avatarJames Chapman <jchapman@katalix.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f8ccac0e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 */