diff options
author | Mike Christie <[email protected]> | 2021-09-29 21:04:18 -0500 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2021-10-18 22:38:35 -0400 |
commit | 945a160794a90442329fdd6ff30f02a5c5b39481 (patch) | |
tree | cb8e855c574e6cc026c810ddf94d403e6b2abb41 /scripts/gdb/linux/utils.py | |
parent | 25d542a8537455a3335448a3fa53cf3704883389 (diff) |
scsi: target: Fix ordered CMD_T_SENT handling
We can race where target_handle_task_attr() has put the cmd on the
delayed_cmd_list. Then target_restart_delayed_cmds() has removed it and set
CMD_T_SENT, but then target_execute_cmd() now clears that bit.
This patch moves the clearing to before we've put the cmd on the list.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Lee Duncan <[email protected]>
Signed-off-by: Mike Christie <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions