diff options
| author | Jenny Derzhavetz <[email protected]> | 2015-09-06 11:52:20 +0000 |
|---|---|---|
| committer | Nicholas Bellinger <[email protected]> | 2015-09-15 22:47:19 +0000 |
| commit | a4c15cd957cbd728f685645de7a150df5912591a (patch) | |
| tree | 9b94ff4f3a240c559ceb10c48b899932c98f8a09 /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | |
| parent | Linux 4.3-rc1 (diff) | |
| download | kernel-a4c15cd957cbd728f685645de7a150df5912591a.tar.gz kernel-a4c15cd957cbd728f685645de7a150df5912591a.zip | |
iser-target: remove command with state ISTATE_REMOVE
As documented in iscsit_sequence_cmd:
/*
* Existing callers for iscsit_sequence_cmd() will silently
* ignore commands with CMDSN_LOWER_THAN_EXP, so force this
* return for CMDSN_MAXCMDSN_OVERRUN as well..
*/
We need to silently finish a command when it's in ISTATE_REMOVE.
This fixes an teardown hang we were seeing where a mis-behaved
initiator (triggered by allocation error injections) sent us a
cmdsn which was lower than expected.
Signed-off-by: Jenny Derzhavetz <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Cc: <[email protected]> # v3.10+
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions
