diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-02-26 16:01:34 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-27 11:01:37 -0500 |
commit | ef74c07cf17958d90bfda34a42b54a132fbee57e (patch) | |
tree | c55c442d1eab5623a8313d17f870679adcdf8760 | |
parent | cd59b28ce9491243a14947376332689de6ec568a (diff) |
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>
-rw-r--r-- | drivers/net/vxlan.c | 1 |
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) |