aboutsummaryrefslogtreecommitdiff
path: root/include/linux/kmsg_dump.h
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2015-09-26 12:23:56 +0100
committerMoyster <oysterized@gmail.com>2016-08-26 20:45:01 +0200
commit6ecd31e103406ba7d98a8159c9097895069b9b6a (patch)
treebede8c8eff59ed4c2cff95e205599d9b673064d7 /include/linux/kmsg_dump.h
parentd4915b2fa95f0f51dabaa3bd0db3511a4f8aa068 (diff)
genirq: Fix race in register_irq_proc()
commit 95c2b17534654829db428f11bcf4297c059a2a7e upstream. Per-IRQ directories in procfs are created only when a handler is first added to the irqdesc, not when the irqdesc is created. In the case of a shared IRQ, multiple tasks can race to create a directory. This race condition seems to have been present forever, but is easier to hit with async probing. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Link: http://lkml.kernel.org/r/1443266636.2004.2.camel@decadent.org.uk Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Stefan Guendhoer <stefan@guendhoer.com>
Diffstat (limited to 'include/linux/kmsg_dump.h')
0 files changed, 0 insertions, 0 deletions