• Thomas Gleixner's avatar
    genirq: Plug race in report_bad_irq() · 1082687e
    Thomas Gleixner authored
    We cannot walk the action chain unlocked. Even if IRQ_INPROGRESS is
    set an action can be removed and we follow a null pointer. It's safe
    to take the lock there, because the code which removes the action will
    call synchronize_irq() which waits unlocked for IRQ_INPROGRESS going
    away.
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    1082687e
spurious.c 7.16 KB