diff options
author | Jiang Liu <[email protected]> | 2015-06-01 16:05:11 +0800 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2015-06-12 16:54:21 +0200 |
commit | 77ed42f18edd486e9994ccd1f174076309a6343f (patch) | |
tree | 7ec199ca67512dad798da59eb9ff9d251cb43c51 /scripts | |
parent | 7bbf1dd24b17b9ec4f47c43ce4e05bf190745553 (diff) |
genirq: Prevent crash in irq_move_irq()
The functions irq_move_irq() and irq_move_masked_irq() expect that the
caller passes the top-level irq_data to them when hierarchical
irqdomains are enabled. But that's not true when called from
apic_ack_edge(), which results in a null pointer dereference by
idata->chip->irq_mask(idata).
Instead of fixing callers to passing top-level irq_data, we rather
change irq_move_irq()/irq_move_masked_irq() to accept any irq_data.
Signed-off-by: Jiang Liu <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Bjorn Helgaas <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Randy Dunlap <[email protected]>
Cc: Yinghai Lu <[email protected]>
Cc: Borislav Petkov <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions