diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-03-05 14:31:47 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-05 10:48:28 -0500 |
commit | 6c6c566e6dd80bec6f5bbb9c36e397ed9b109cdb (patch) | |
tree | 9066d94b9ff15f257dbedba010e736a379e30408 /net | |
parent | 16b0c0c4d9a799979b0d3f387821c93bcc301f79 (diff) | |
download | linux-6c6c566e6dd80bec6f5bbb9c36e397ed9b109cdb.tar.bz2 |
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv4/fou.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/fou.c b/net/ipv4/fou.c index 1540db65241a..d3e1a9af478b 100644 --- a/net/ipv4/fou.c +++ b/net/ipv4/fou.c @@ -1081,6 +1081,7 @@ static struct pernet_operations fou_net_ops = { .exit = fou_exit_net, .id = &fou_net_id, .size = sizeof(struct fou_net), + .async = true, }; static int __init fou_init(void) |