aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ipv4.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-04-14 01:31:05 -0400
committerDavid S. Miller <davem@davemloft.net>2008-04-14 01:31:05 -0400
commitfc5f8580d31d52890f17526ea739b124bd4e56f4 (patch)
treedddbaef88fca366dcff053af94e75c97cec12a09 /net/dccp/ipv4.c
parentb9901a84c98fe27c6a598c0f3ec944a7f17a5f97 (diff)
[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 <xemul@openvz.org> Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/ipv4.c')
-rw-r--r--net/dccp/ipv4.c1
1 files changed, 1 insertions, 0 deletions
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 = {
952 .handler = dccp_v4_rcv, 952 .handler = dccp_v4_rcv,
953 .err_handler = dccp_v4_err, 953 .err_handler = dccp_v4_err,
954 .no_policy = 1, 954 .no_policy = 1,
955 .netns_ok = 1,
955}; 956};
956 957
957static const struct proto_ops inet_dccp_ops = { 958static const struct proto_ops inet_dccp_ops = {