]> err.no Git - linux-2.6/commitdiff
[NETNS][DCCPV4]: Enable DCCPv4 in net namespaces.
authorPavel Emelyanov <xemul@openvz.org>
Mon, 14 Apr 2008 05:31:05 +0000 (22:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Apr 2008 05:31:05 +0000 (22:31 -0700)
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>
net/dccp/ipv4.c

index 66f860b1b91617a4559296686b89df5cd71f7de8..b9974669edb4f124ee8a47d3a6a69e8a384caf95 100644 (file)
@@ -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 = {