Skip to contentSkip to conversation

l2tp: remove incorrect __rcu attribute

PATCH Applied James Chapman 2 participants 2 messages Jun 24, 2024 – Jun 25, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 l2tp: remove incorrect __rcu attribute

This fixes a sparse warning.

Fixes d18d3f0a24fc ("l2tp: replace hlist with simple list for per-tunnel session list")
---
 net/l2tp/l2tp_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/l2tp/l2tp_core.c +1 -1
index be4bcbf291a1..64f446f0930b 100644
@@ -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);
Signature · 1 line
2.34.1
#1 lore raw
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Mon, 24 Jun 2024 09:29:45 +0100 you wrote:

This fixes a sparse warning.

Fixes d18d3f0a24fc ("l2tp: replace hlist with simple list for per-tunnel session list")

[...]

Here is the summary with links:
- [net-next] l2tp: remove incorrect __rcu attribute

    https://git.kernel.org/netdev/net-next/c/a8a8d89dbd2b

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html