LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

[PATCH net-next 1/6] net: Convert l2tp_net_ops

To: davem@xxxxxxxxxxxxx, wensong@xxxxxxxxxxxx, horms@xxxxxxxxxxxx, ja@xxxxxx, pablo@xxxxxxxxxxxxx, kadlec@xxxxxxxxxxxxxxxxx, fw@xxxxxxxxx, pshelar@xxxxxxx, g.nault@xxxxxxxxxxxx, jchapman@xxxxxxxxxxx, lorenzo.bianconi@xxxxxxxxxx, dwindsor@xxxxxxxxx, elena.reshetova@xxxxxxxxx, dsahern@xxxxxxxxx, roopa@xxxxxxxxxxxxxxxxxxx, rshearma@xxxxxxxxxxx, dan.j.williams@xxxxxxxxx, amine.kherbouche@xxxxxxxxx, netdev@xxxxxxxxxxxxxxx, lvs-devel@xxxxxxxxxxxxxxx, netfilter-devel@xxxxxxxxxxxxxxx, dev@xxxxxxxxxxxxxxx, ktkhai@xxxxxxxxxxxxx
Subject: [PATCH net-next 1/6] net: Convert l2tp_net_ops
From: Kirill Tkhai <ktkhai@xxxxxxxxxxxxx>
Date: Thu, 15 Mar 2018 12:10:57 +0300
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@xxxxxxxxxxxxx>
---
 net/l2tp/l2tp_core.c |    1 +
 1 file changed, 1 insertion(+)

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)

--
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

<Prev in Thread] Current Thread [Next in Thread>