[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<172172703179.29019.16936082654523907056.git-patchwork-notify@kernel.org>
Date: Tue, 23 Jul 2024 09:30:31 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: James Chapman <jchapman@...alix.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, tparkin@...alix.com,
samuel.thibault@...-lyon.org, thorsten.blum@...lux.com
Subject: Re: [PATCH net] l2tp: make session IDR and tunnel session list coherent
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@...hat.com>:
On Thu, 18 Jul 2024 14:43:48 +0100 you wrote:
> Modify l2tp_session_register and l2tp_session_unhash so that the
> session IDR and tunnel session lists remain coherent. To do so, hold
> the session IDR lock and the tunnel's session list lock when making
> any changes to either list.
>
> Without this change, a rare race condition could hit the WARN_ON_ONCE
> in l2tp_session_unhash if a thread replaced the IDR entry while
> another thread was registering the same ID.
>
> [...]
Here is the summary with links:
- [net] l2tp: make session IDR and tunnel session list coherent
https://git.kernel.org/netdev/net/c/d587d825424b
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists