OSDN Git Service

net: Convert fou_net_ops
authorKirill Tkhai <ktkhai@virtuozzo.com>
Mon, 5 Mar 2018 11:31:47 +0000 (14:31 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Mar 2018 15:48:28 +0000 (10:48 -0500)
commit6c6c566e6dd80bec6f5bbb9c36e397ed9b109cdb
tree9066d94b9ff15f257dbedba010e736a379e30408
parent16b0c0c4d9a799979b0d3f387821c93bcc301f79
net: Convert fou_net_ops

These pernet_operations initialize and destroy
pernet net_generic(net, fou_net_id) list.
The rest of net_generic(net, fou_net_id) accesses
may happen after netlink message, and in-tree
pernet_operations do not send FOU_GENL_NAME messages.
So, these pernet_operations are safe to be marked
as async.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fou.c