Re: [PATCH v2] mISDN: hfcpci: Fix potential deadlock on &hc->lock

From: patchwork-bot+netdevbpf
Date: Fri Jul 28 2023 - 21:50:25 EST


Hello:

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

On Thu, 27 Jul 2023 08:56:19 +0000 you wrote:
> As &hc->lock is acquired by both timer _hfcpci_softirq() and hardirq
> hfcpci_int(), the timer should disable irq before lock acquisition
> otherwise deadlock could happen if the timmer is preemtped by the hadr irq.
>
> Possible deadlock scenario:
> hfcpci_softirq() (timer)
> -> _hfcpci_softirq()
> -> spin_lock(&hc->lock);
> <irq interruption>
> -> hfcpci_int()
> -> spin_lock(&hc->lock); (deadlock here)
>
> [...]

Here is the summary with links:
- [v2] mISDN: hfcpci: Fix potential deadlock on &hc->lock
https://git.kernel.org/netdev/net/c/56c6be35fcbe

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