Revision 963761a0b2e85663ee4a5630f72930885a06598a authored by Sean Young on 24 May 2017, 09:24:51 UTC, committed by Mauro Carvalho Chehab on 04 June 2017, 18:25:38 UTC
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.

Cc: stable@kernel.org
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
1 parent 20249f8
History
File Mode Size
bebob
dice
digi00x
fireface
fireworks
motu
oxfw
tascam
Kconfig -rw-r--r-- 4.7 KB
Makefile -rw-r--r-- 629 bytes
amdtp-am824.c -rw-r--r-- 12.7 KB
amdtp-am824.h -rw-r--r-- 1.6 KB
amdtp-stream-trace.h -rw-r--r-- 6.0 KB
amdtp-stream.c -rw-r--r-- 26.8 KB
amdtp-stream.h -rw-r--r-- 7.5 KB
cmp.c -rw-r--r-- 9.4 KB
cmp.h -rw-r--r-- 1.4 KB
fcp.c -rw-r--r-- 10.3 KB
fcp.h -rw-r--r-- 1.0 KB
isight.c -rw-r--r-- 17.6 KB
iso-resources.c -rw-r--r-- 6.4 KB
iso-resources.h -rw-r--r-- 1.2 KB
lib.c -rw-r--r-- 3.1 KB
lib.h -rw-r--r-- 736 bytes
packets-buffer.c -rw-r--r-- 2.1 KB
packets-buffer.h -rw-r--r-- 747 bytes

back to top