diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-02-26 14:00:48 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-27 17:01:36 +0100 |
commit | f60f33460a8cc690398f3e978851271c20364aa3 (patch) | |
tree | 115eacc32a7892a484ef302bfde86fdbdf42508a /drivers/net/geneve.c | |
parent | net: Convert bond_net_ops (diff) | |
download | linux-f60f33460a8cc690398f3e978851271c20364aa3.tar.xz linux-f60f33460a8cc690398f3e978851271c20364aa3.zip |
net: Convert geneve_net_ops
These pernet_operations are similar to bond_net_ops. Exit method
unregisters all net geneve devices, and it looks like another
pernet_operations are not interested in foreign net geneve 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 'drivers/net/geneve.c')
-rw-r--r-- | drivers/net/geneve.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/geneve.c b/drivers/net/geneve.c index b919e89a9b93..516dd59249d7 100644 --- a/drivers/net/geneve.c +++ b/drivers/net/geneve.c @@ -1694,6 +1694,7 @@ static struct pernet_operations geneve_net_ops = { .exit_batch = geneve_exit_batch_net, .id = &geneve_net_id, .size = sizeof(struct geneve_net), + .async = true, }; static int __init geneve_init_module(void) |