From: Thomas Gleixner Date: Tue, 23 Mar 2010 21:40:53 +0000 (+0100) Subject: genirq: Protect access to irq_desc->action in can_request_irq() X-Git-Tag: v2.6.34-rc3~26^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc8c3b78433222e5dbc1fdfcfdde29e1743f181a;p=pandora-kernel.git 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 --- Reading git-diff-tree failed