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>
This commit is contained in:
Kirill Tkhai 2018-03-15 12:10:57 +03:00 коммит произвёл David S. Miller
Родитель 5379457004
Коммит 489b30b53f
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -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)