mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-06 11:19:56 +00:00
[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>
This commit is contained in:
parent
b9901a84c9
commit
fc5f8580d3
@ -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 = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user