From: Thomas Gleixner Date: Mon, 7 Feb 2011 08:05:05 +0000 (+0100) Subject: genirq: Plug race in report_bad_irq() X-Git-Tag: v2.6.39-rc1~503^2~9^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1082687e8d6292a61759eb83358e7db39fed1bf4;p=pandora-kernel.git 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: Thomas Gleixner --- Reading git-diff-tree failed