summaryrefslogtreecommitdiffstats
path: root/drivers/net/vxlan.c
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-02-26 14:01:34 +0100
committerDavid S. Miller <davem@davemloft.net>2018-02-27 17:01:37 +0100
commitef74c07cf17958d90bfda34a42b54a132fbee57e (patch)
treec55c442d1eab5623a8313d17f870679adcdf8760 /drivers/net/vxlan.c
parentnet: Convert ppp_net_ops (diff)
downloadlinux-ef74c07cf17958d90bfda34a42b54a132fbee57e.tar.xz
linux-ef74c07cf17958d90bfda34a42b54a132fbee57e.zip
net: Convert vxlan_net_ops
These pernet_operations are similar to bond_net_ops. Exit method unregisters all net vlanx devices, and it looks like another pernet_operations are not interested in foreign net vlanx list. So, it's possible to mark them async. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/vxlan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index fab7a4db249e..aa5f034d6ad1 100644
--- a/drivers/net/vxlan.c
+++ b/drivers/net/vxlan.c
@@ -3752,6 +3752,7 @@ static struct pernet_operations vxlan_net_ops = {
.exit_batch = vxlan_exit_batch_net,
.id = &vxlan_net_id,
.size = sizeof(struct vxlan_net),
+ .async = true,
};
static int __init vxlan_init_module(void)