Re: [PATCH net-next v2] sock: Correct error checking condition for (assign|release)_proto_idx()
From: patchwork-bot+netdevbpf
Date: Fri Apr 11 2025 - 19:40:29 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Thu, 10 Apr 2025 09:01:27 +0800 you wrote:
> From: Zijun Hu <quic_zijuhu@xxxxxxxxxxx>
>
> (assign|release)_proto_idx() wrongly check find_first_zero_bit() failure
> by condition '(prot->inuse_idx == PROTO_INUSE_NR - 1)' obviously.
>
> Fix by correcting the condition to '(prot->inuse_idx == PROTO_INUSE_NR)'
>
> [...]
Here is the summary with links:
- [net-next,v2] sock: Correct error checking condition for (assign|release)_proto_idx()
https://git.kernel.org/netdev/net-next/c/faeefc173be4
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html