OSDN Git Service

net: Convert dccp_v4_ops
authorKirill Tkhai <ktkhai@virtuozzo.com>
Mon, 5 Mar 2018 11:31:28 +0000 (14:31 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Mar 2018 15:48:28 +0000 (10:48 -0500)
commit5368bd72cd7aacd0e3f80f61e9b2a096fc81cc10
treee9786d377865a2c65c7dae50c195b36580a75b60
parent111da7adc1276d44d20c3973f4b39d62f83df056
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>
net/dccp/ipv4.c