genirq: Protect access to irq_desc->action in can_request_irq()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 23 Mar 2010 21:40:53 +0000 (22:40 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 24 Mar 2010 13:38:23 +0000 (14:38 +0100)
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>

No differences found