From: Kirill Tkhai Date: Mon, 5 Mar 2018 11:31:47 +0000 (+0300) Subject: net: Convert fou_net_ops X-Git-Tag: v4.17-rc1~148^2~288^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6c6c566e6dd80bec6f5bbb9c36e397ed9b109cdb;p=thirdparty%2Flinux.git 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 Signed-off-by: David S. Miller --- diff --git a/net/ipv4/fou.c b/net/ipv4/fou.c index 1540db65241a6..d3e1a9af478b0 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)