Re: [PATCH net] dibs: initialise dibs->lock in dibs_dev_alloc()

From: patchwork-bot+netdevbpf

Date: Wed Aug 05 2026 - 21:00:55 EST


Hello:

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

On Thu, 30 Jul 2026 14:42:27 +0200 you wrote:
> dibs->lock is initialised by dibs_dev_add(), but a dibs device can
> already take interrupts before that call: ism_probe() runs
> ism_dev_init(), and hence request_irq(), before it calls
> dibs_dev_add(). No client can have registered a dmb at that point, so
> no dmb interrupt can occur, but a GID event interrupt can, and
> ism_handle_irq() takes dibs->lock unconditionally on entry, before it
> inspects anything else.
>
> [...]

Here is the summary with links:
- [net] dibs: initialise dibs->lock in dibs_dev_alloc()
https://git.kernel.org/netdev/net/c/c27e36054537

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