Re: [PATCH net] rxrpc, afs: Fix peer hash locking vs RCU callback

From: patchwork-bot+netdevbpf
Date: Mon Jan 27 2025 - 18:10:54 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Thu, 23 Jan 2025 08:59:12 +0000 you wrote:
> In its address list, afs now retains pointers to and refs on one or more
> rxrpc_peer objects. The address list is freed under RCU and at this time,
> it puts the refs on those peers.
>
> Now, when an rxrpc_peer object runs out of refs, it gets removed from the
> peer hash table and, for that, rxrpc has to take a spinlock. However, it
> is now being called from afs's RCU cleanup, which takes place in BH
> context - but it is just taking an ordinary spinlock.
>
> [...]

Here is the summary with links:
- [net] rxrpc, afs: Fix peer hash locking vs RCU callback
https://git.kernel.org/netdev/net/c/79d458c13056

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html