projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5379457
)
net: Convert l2tp_net_ops
author
Kirill Tkhai
<
[email protected]
>
Thu, 15 Mar 2018 09:10:57 +0000
(12:10 +0300)
committer
David S. Miller
<
[email protected]
>
Sat, 17 Mar 2018 21:07:39 +0000
(17:07 -0400)
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]
>
net/l2tp/l2tp_core.c
patch
|
blob
|
history
diff --git
a/net/l2tp/l2tp_core.c
b/net/l2tp/l2tp_core.c
index 83421c6f0bef1c48e35fe42000deea456ab1548d..189a12a5e4ac001775121493481b437ed29e0191 100644
(file)
--- 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)