diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2010-03-23 22:40:53 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-03-24 14:38:23 +0100 |
commit | cc8c3b78433222e5dbc1fdfcfdde29e1743f181a (patch) | |
tree | 7efe13d87d7d92b1ff409455e65c85129bc30121 /kernel/irq/chip.c | |
parent | 0b1adaa031a55e44f5dd942f234bf09d28e8a0d6 (diff) |
genirq: Protect access to irq_desc->action in can_request_irq()
can_request_irq() accesses and dereferences irq_desc->action w/o
holding irq_desc->lock. So action can be freed on another CPU before
it's dereferenced. Unlikely, but ...
Protect it with desc->lock.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/chip.c')
0 files changed, 0 insertions, 0 deletions