Skip to content

Commit fda604a

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending
Pull SCSI target bug fix from Nicholas Bellinger: "Here is an outstanding target-core bug-fix for v4.5 code." This patch addresses a recent Task Management (TMR) regression related to larger set of multi-port LUN_RESET bug-fixes in v4.5-rc5. It drops a left-over target_put_sess_cmd() of se_cmd->cmd_kref within ABORT_TASK failure path, once a se_cmd descriptor has already completed posting response to fabric driver logic, and must be skipped during normal ABORT_TASK se_cmd->tag lookup" * git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending: target: Drop incorrect ABORT_TASK put for completed commands
2 parents 03c668a + 7f54ab5 commit fda604a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/target/target_core_tmr.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ void core_tmr_abort_task(
177177

178178
if (!__target_check_io_state(se_cmd, se_sess, 0)) {
179179
spin_unlock_irqrestore(&se_sess->sess_cmd_lock, flags);
180-
target_put_sess_cmd(se_cmd);
181180
goto out;
182181
}
183182
list_del_init(&se_cmd->se_cmd_list);

0 commit comments

Comments
 (0)