History

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

Linus Torvalds committed 10 years ago

Commit fda604a2 parents 03c668a 7f54ab51 file · +0 −1Browse files

Unified · Split

drivers/target/target_core_tmr.c+0−1
@@ -177,7 +177,6 @@ void core_tmr_abort_task( · 176 unmodified lines
177 177
178 if (!__target_check_io_state(se_cmd, se_sess, 0)) {178 if (!__target_check_io_state(se_cmd, se_sess, 0)) {
179 spin_unlock_irqrestore(&se_sess->sess_cmd_lock, flags);179 spin_unlock_irqrestore(&se_sess->sess_cmd_lock, flags);
180 target_put_sess_cmd(se_cmd);
181 goto out;180 goto out;
182 }181 }
183 list_del_init(&se_cmd->se_cmd_list);182 list_del_init(&se_cmd->se_cmd_list);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t