aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_pr.c
diff options
context:
space:
mode:
authortangwenji <tang.wenji@zte.com.cn>2017-08-16 16:39:00 +0800
committerNicholas Bellinger <nab@linux-iscsi.org>2017-11-04 14:45:20 -0700
commit88fb2fa7db7510bf1078226ab48d162d9854f3d4 (patch)
treecb697101ed1f7aefb4351f2e131c78e6618499e4 /drivers/target/target_core_pr.c
parenttarget/file: Do not return error for UNMAP if length is zero (diff)
downloadlinux-dev-88fb2fa7db7510bf1078226ab48d162d9854f3d4.tar.xz
linux-dev-88fb2fa7db7510bf1078226ab48d162d9854f3d4.zip
target: fix null pointer regression in core_tmr_drain_tmr_list
The target system kernel crash when the initiator executes the sg_persist -A command,because of the second argument to be set to NULL when core_tmr_lun_reset is called in core_scsi3_pro_preempt function. This fixes a regression originally introduced by: commit 51ec502a32665fed66c7f03799ede4023b212536 Author: Bart Van Assche <bart.vanassche@sandisk.com> Date: Tue Feb 14 16:25:54 2017 -0800 target: Delete tmr from list before processing Signed-off-by: tangwenji <tang.wenji@zte.com.cn> Cc: stable@vger.kernel.org # 4.11+ Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_pr.c')
0 files changed, 0 insertions, 0 deletions