From: Sean Young Date: Wed, 24 May 2017 09:24:51 +0000 (-0300) Subject: rc-core: race condition during ir_raw_event_register() X-Git-Tag: v3.2.93~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd33f9f3f4a8df2e4a6de42a606151bd0bd13d80;p=pandora-kernel.git rc-core: race condition during ir_raw_event_register() commit 963761a0b2e85663ee4a5630f72930885a06598a upstream. A rc device can call ir_raw_event_handle() after rc_allocate_device(), but before rc_register_device() has completed. This is racey because rcdev->raw is set before rcdev->raw->thread has a valid value. Reported-by: kbuild test robot Signed-off-by: Sean Young Signed-off-by: Mauro Carvalho Chehab [bwh: Backported to 3.2: adjust filename, context, indentation] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed