From: Pavel Emelyanov Date: Mon, 14 Apr 2008 05:31:05 +0000 (-0700) Subject: [NETNS][DCCPV4]: Enable DCCPv4 in net namespaces. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fc5f8580d31d52890f17526ea739b124bd4e56f4;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [NETNS][DCCPV4]: Enable DCCPv4 in net namespaces. This enables sockets creation with IPPROTO_DCCP and enables the ip level to pass DCCP packets to the DCCP level. Signed-off-by: Pavel Emelyanov Acked-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller --- diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c index 66f860b1b916..b9974669edb4 100644 --- a/net/dccp/ipv4.c +++ b/net/dccp/ipv4.c @@ -952,6 +952,7 @@ static struct net_protocol dccp_v4_protocol = { .handler = dccp_v4_rcv, .err_handler = dccp_v4_err, .no_policy = 1, + .netns_ok = 1, }; static const struct proto_ops inet_dccp_ops = {