]> www.infradead.org Git - users/jedix/linux-maple.git/commit
l2tp: use pre_exit pernet hook to avoid rcu_barrier
authorJames Chapman <jchapman@katalix.com>
Mon, 29 Jul 2024 15:38:14 +0000 (16:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Jul 2024 08:25:14 +0000 (09:25 +0100)
commit5dfa598b249c5bd8fa620843cf9ece1ad16929d9
tree4b6808fe72a0685580f8e7b0e12d050b3d8a991c
parentd93b8a63f011f252dcfb101d5b90367bd8f42db3
l2tp: use pre_exit pernet hook to avoid rcu_barrier

Move the work of closing all tunnels from the pernet exit hook to
pre_exit since the core does rcu synchronisation between these steps
and we can therefore remove rcu_barrier from l2tp code.

Signed-off-by: James Chapman <jchapman@katalix.com>
Signed-off-by: Tom Parkin <tparkin@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_core.c