mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Acked-by: Guillaume Nault <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
5379457004
commit
489b30b53f
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue