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
iscsi
loopback
sbp
tcm_fc
Kconfig -rw-r--r-- 1.4 KB
Makefile -rw-r--r-- 904 bytes
target_core_alua.c -rw-r--r-- 60.6 KB
target_core_alua.h -rw-r--r-- 6.2 KB
target_core_configfs.c -rw-r--r-- 87.6 KB
target_core_device.c -rw-r--r-- 30.4 KB
target_core_fabric_configfs.c -rw-r--r-- 27.6 KB
target_core_fabric_lib.c -rw-r--r-- 11.7 KB
target_core_file.c -rw-r--r-- 22.1 KB
target_core_file.h -rw-r--r-- 1.2 KB
target_core_hba.c -rw-r--r-- 4.7 KB
target_core_iblock.c -rw-r--r-- 21.0 KB
target_core_iblock.h -rw-r--r-- 612 bytes
target_core_internal.h -rw-r--r-- 6.6 KB
target_core_pr.c -rw-r--r-- 125.2 KB
target_core_pr.h -rw-r--r-- 2.4 KB
target_core_pscsi.c -rw-r--r-- 27.8 KB
target_core_pscsi.h -rw-r--r-- 1.4 KB
target_core_rd.c -rw-r--r-- 16.3 KB
target_core_rd.h -rw-r--r-- 1.5 KB
target_core_sbc.c -rw-r--r-- 39.0 KB
target_core_spc.c -rw-r--r-- 38.2 KB
target_core_stat.c -rw-r--r-- 37.5 KB
target_core_tmr.c -rw-r--r-- 12.8 KB
target_core_tpg.c -rw-r--r-- 18.1 KB
target_core_transport.c -rw-r--r-- 87.2 KB
target_core_ua.c -rw-r--r-- 8.8 KB
target_core_ua.h -rw-r--r-- 1.6 KB
target_core_user.c -rw-r--r-- 42.2 KB
target_core_xcopy.c -rw-r--r-- 30.0 KB
target_core_xcopy.h -rw-r--r-- 1.9 KB

back to top