[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<169059542010.13127.16700262507413576636.git-patchwork-notify@kernel.org>
Date: Sat, 29 Jul 2023 01:50:20 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Chengfeng Ye <dg573847474@...il.com>
Cc: isdn@...ux-pingi.de, alexanderduyck@...com, duoming@....edu.cn,
yangyingliang@...wei.com, davem@...emloft.net, kuba@...nel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] mISDN: hfcpci: Fix potential deadlock on &hc->lock
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
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
Powered by blists - more mailing lists