summaryrefslogtreecommitdiffstats
path: root/net/can
diff options
context:
space:
mode:
authorKirill Tkhai2018-02-26 13:59:19 +0100
committerDavid S. Miller2018-02-27 17:01:35 +0100
commitc80afa026a7f6eb01f5431760cd894526153d4a8 (patch)
tree7d09c84c39290248e328621668d8dec75ce36697 /net/can
parentipvlan: fix building with modular IPV6 (diff)
downloadkernel-qcow2-linux-c80afa026a7f6eb01f5431760cd894526153d4a8.tar.gz
kernel-qcow2-linux-c80afa026a7f6eb01f5431760cd894526153d4a8.tar.xz
kernel-qcow2-linux-c80afa026a7f6eb01f5431760cd894526153d4a8.zip
net: Convert /proc creating and destroying pernet_operations
These pernet_operations just create and destroy /proc entries, and they can safely marked as async: pppoe_net_ops vlan_net_ops canbcm_pernet_ops kcm_net_ops pfkey_net_ops pppol2tp_net_ops phonet_net_ops Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/can')
-rw-r--r--net/can/bcm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/can/bcm.c b/net/can/bcm.c
index ac5e5e34fee3..26730d39e048 100644
--- a/net/can/bcm.c
+++ b/net/can/bcm.c
@@ -1717,6 +1717,7 @@ static void canbcm_pernet_exit(struct net *net)
static struct pernet_operations canbcm_pernet_ops __read_mostly = {
.init = canbcm_pernet_init,
.exit = canbcm_pernet_exit,
+ .async = true,
};
static int __init bcm_module_init(void)