net: Convert pernet_subsys ops, registered via net_dev_init()
authorKirill Tkhai <ktkhai@virtuozzo.com>
Tue, 13 Feb 2018 09:28:54 +0000 (12:28 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Feb 2018 15:36:07 +0000 (10:36 -0500)
commit88b8ffebdb4d0f4da4e9a8383c8478c32372b42b
treefa061688b2ab1c6075bf71f6013291ea9a450952
parent36b0068e6c9892aa4757d4fa08fd14fbba72b3b3
net: Convert pernet_subsys ops, registered via net_dev_init()

There are:
1)dev_proc_ops and dev_mc_net_ops, which create and destroy
pernet proc file and not interesting for another net namespaces;
2)netdev_net_ops, which creates pernet hashes, which are not
touched by another pernet_operations.

So, make them async.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Acked-by: Andrei Vagin <avagin@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c
net/core/net-procfs.c