diff options
author | Kirill Tkhai | 2018-03-15 12:10:57 +0300 |
---|---|---|
committer | David S. Miller | 2018-03-17 17:07:39 -0400 |
commit | 489b30b53f0540b9f8e391cbb2839cea48b5d1c1 (patch) | |
tree | 88eeabfb21420da1427c36ff984976e744ddb84d | |
parent | 53794570049d314742f156c99022914840a3d5ab (diff) |
net: Convert l2tp_net_ops
Init method is rather simple. Exit method queues del_work
for every tunnel from per-net list. This seems to be safe
to be marked async.
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Acked-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/l2tp/l2tp_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/l2tp/l2tp_core.c b/net/l2tp/l2tp_core.c index 83421c6f0bef..189a12a5e4ac 100644 --- a/net/l2tp/l2tp_core.c +++ b/net/l2tp/l2tp_core.c @@ -1787,6 +1787,7 @@ static struct pernet_operations l2tp_net_ops = { .exit = l2tp_exit_net, .id = &l2tp_net_id, .size = sizeof(struct l2tp_net), + .async = true, }; static int __init l2tp_init(void) |