diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-07-16 14:10:17 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-07-17 11:29:34 +0200 |
commit | 75a06189fc508a2acf470b0b12710362ffb2c4b1 (patch) | |
tree | af68b2120f3cba499cf8d26b6cd76cdbb1d302f2 /security/smack | |
parent | ce0d3c0a6fb1422101498ef378c0851dabbbf67f (diff) | |
download | lwn-75a06189fc508a2acf470b0b12710362ffb2c4b1.tar.gz lwn-75a06189fc508a2acf470b0b12710362ffb2c4b1.zip |
genirq: Prevent resend to interrupts marked IRQ_NESTED_THREAD
The resend mechanism happily calls the interrupt handler of interrupts
which are marked IRQ_NESTED_THREAD from softirq context. This can
result in crashes because the interrupt handler is not the proper way
to invoke the device handlers. They must be invoked via
handle_nested_irq.
Prevent the resend even if the interrupt has no valid parent irq
set. Its better to have a lost interrupt than a crashing machine.
Reported-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org
Diffstat (limited to 'security/smack')
0 files changed, 0 insertions, 0 deletions