diff options
author | Thomas Gleixner <[email protected]> | 2017-05-11 13:54:11 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-05-16 15:03:26 +0200 |
commit | 2c4569ca26986d18243f282dd727da27e9adae4c (patch) | |
tree | 652e30a6fcebe62430b643891f8a1cd2b31396eb /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 9459a04b6a5a09967eec94a1b66f0a74312819d9 (diff) |
genirq: Fix chained interrupt data ordering
irq_set_chained_handler_and_data() sets up the chained interrupt and then
stores the handler data.
That's racy against an immediate interrupt which gets handled before the
store of the handler data happened. The handler will dereference a NULL
pointer and crash.
Cure it by storing handler data before installing the chained handler.
Reported-by: Borislav Petkov <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions