diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-04-14 01:31:05 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-14 01:31:05 -0400 |
commit | fc5f8580d31d52890f17526ea739b124bd4e56f4 (patch) | |
tree | dddbaef88fca366dcff053af94e75c97cec12a09 | |
parent | b9901a84c98fe27c6a598c0f3ec944a7f17a5f97 (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>
-rw-r--r-- | net/dccp/ipv4.c | 1 |
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 | ||
957 | static const struct proto_ops inet_dccp_ops = { | 958 | static const struct proto_ops inet_dccp_ops = { |