]> www.infradead.org Git - users/jedix/linux-maple.git/commit
l2tp: free sessions using rcu
authorJames Chapman <jchapman@katalix.com>
Mon, 29 Jul 2024 15:38:08 +0000 (16:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Jul 2024 08:25:13 +0000 (09:25 +0100)
commitd17e89999574aca143dd4ede43e4382d32d98724
tree8b2cba81db913e64a09848faf43c369d3b977ce8
parentfc7ec7f554d7d0a27ba339fcf48df11d14413329
l2tp: free sessions using rcu

l2tp sessions may be accessed under an rcu read lock. Have them freed
via rcu and remove the now unneeded synchronize_rcu when a session is
removed.

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
net/l2tp/l2tp_core.h