diff options
author | Thomas Gleixner <[email protected]> | 2015-12-31 16:30:45 +0000 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2016-01-15 13:43:59 +0100 |
commit | 36f34c8c63da3e272fd66f91089228c22d2b6e8b (patch) | |
tree | 7797528912186ea732fb2679482472f1a90f2b35 /lib/netdev-notifier-error-inject.c | |
parent | 111abeba67e0dbdc26537429de9155e4f1d807d8 (diff) |
x86/irq: Validate that irq descriptor is still active
In fixup_irqs() we unconditionally dereference the irq chip of an irq
descriptor. The descriptor might still be valid, but already cleaned up,
i.e. the chip removed. Add a check for this condition.
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Jiang Liu <[email protected]>
Cc: Joe Lawrence <[email protected]>
Cc: Jeremiah Mahler <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: [email protected]
Cc: Guenter Roeck <[email protected]>
Cc: [email protected] #4.3+
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions