]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit572d09da4b4fd7b3277fc44f42f8dbcca81f49bd
treefa061688b2ab1c6075bf71f6013291ea9a450952
parent6ebf45d16b65079dd5b685dd51c733b57058c52c
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