Commit a8a8d89d authored by James Chapman's avatar James Chapman Committed by Jakub Kicinski

l2tp: remove incorrect __rcu attribute

This fixes a sparse warning.

Fixes: d18d3f0a ("l2tp: replace hlist with simple list for per-tunnel session list")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202406220754.evK8Hrjw-lkp@intel.com/Signed-off-by: default avatarJames Chapman <jchapman@katalix.com>
Link: https://patch.msgid.link/20240624082945.1925009-1-jchapman@katalix.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 73cfd947
......@@ -1290,7 +1290,7 @@ static void l2tp_session_unhash(struct l2tp_session *session)
static void l2tp_tunnel_closeall(struct l2tp_tunnel *tunnel)
{
struct l2tp_session *session;
struct list_head __rcu *pos;
struct list_head *pos;
struct list_head *tmp;
spin_lock_bh(&tunnel->list_lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment