lkml.org 
[lkml]   [2023]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH v2] mISDN: hfcpci: Fix potential deadlock on &hc->lock
    From
    Date
    Hello:

    This patch was applied to netdev/net.git (main)
    by Jakub Kicinski <kuba@kernel.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


    \
     
     \ /
      Last update: 2023-07-29 03:51    [W:2.890 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site