projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9901a8
)
[NETNS][DCCPV4]: Enable DCCPv4 in net namespaces.
author
Pavel Emelyanov
<
[email protected]
>
Mon, 14 Apr 2008 05:31:05 +0000
(22:31 -0700)
committer
David S. Miller
<
[email protected]
>
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 <
[email protected]
>
Acked-by: Arnaldo Carvalho de Melo <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/dccp/ipv4.c
patch
|
blob
|
history
diff --git
a/net/dccp/ipv4.c
b/net/dccp/ipv4.c
index 66f860b1b91617a4559296686b89df5cd71f7de8..b9974669edb4f124ee8a47d3a6a69e8a384caf95 100644
(file)
--- 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 = {