aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ipv4.c
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-03-05 14:31:28 +0300
committerDavid S. Miller <davem@davemloft.net>2018-03-05 10:48:28 -0500
commit5368bd72cd7aacd0e3f80f61e9b2a096fc81cc10 (patch)
treee9786d377865a2c65c7dae50c195b36580a75b60 /net/dccp/ipv4.c
parentnet: Convert cangw_pernet_ops (diff)
downloadlinux-dev-5368bd72cd7aacd0e3f80f61e9b2a096fc81cc10.tar.xz
linux-dev-5368bd72cd7aacd0e3f80f61e9b2a096fc81cc10.zip
net: Convert dccp_v4_ops
These pernet_operations create and destroy net::dccp::v4_ctl_sk. It looks like another pernet_operations don't want to send dccp packets to dying or creating net. Batch method similar to ipv4/ipv6 sockets and it has to be safe to be executed in parallel with anything else. So, we mark them as async. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-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 e65fcb45c3f6..13ad28ab1e79 100644
--- a/net/dccp/ipv4.c
+++ b/net/dccp/ipv4.c
@@ -1031,6 +1031,7 @@ static struct pernet_operations dccp_v4_ops = {
.init = dccp_v4_init_net,
.exit = dccp_v4_exit_net,
.exit_batch = dccp_v4_exit_batch,
+ .async = true,
};
static int __init dccp_v4_init(void)