Commit fc5f8580 authored by Pavel Emelyanov's avatar Pavel Emelyanov Committed by David S. Miller

[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: default avatarPavel Emelyanov <xemul@openvz.org>
Acked-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b9901a84
...@@ -952,6 +952,7 @@ static struct net_protocol dccp_v4_protocol = { ...@@ -952,6 +952,7 @@ static struct net_protocol dccp_v4_protocol = {
.handler = dccp_v4_rcv, .handler = dccp_v4_rcv,
.err_handler = dccp_v4_err, .err_handler = dccp_v4_err,
.no_policy = 1, .no_policy = 1,
.netns_ok = 1,
}; };
static const struct proto_ops inet_dccp_ops = { static const struct proto_ops inet_dccp_ops = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment