Skip to content
Commit 1082687e authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

genirq: Plug race in report_bad_irq()



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>
parent 2b879eaf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment