summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2017-02-15 11:11:51 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-02-15 08:49:58 -0800
commit6cf18e6927c0b224f972e3042fb85770d63cb9f8 (patch)
treeea7ebea14338936e8b81a3d7a641a019fca986fe /init
parent47512cfd0d7a8bd6ab71d01cd89fca19eb2093eb (diff)
goldfish: Sanitize the broken interrupt handler
This interrupt handler is broken in several ways: - It loops forever when the op code is not decodeable - It never returns IRQ_HANDLED because the only way to exit the loop returns IRQ_NONE unconditionally. The whole concept of this is broken. Creating devices in an interrupt handler is beyond any point of sanity. Make it at least behave halfways sane so accidental users do not have to deal with a hard to debug lockup. Fixes: e809c22b8fb028 ("goldfish: add the goldfish virtual bus") Reported-by: Gabriel C <nix.or.die@gmail.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions