aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
diff options
context:
space:
mode:
authorNicholas Bellinger <[email protected]>2016-10-04 23:37:05 +0000
committerNicholas Bellinger <[email protected]>2016-10-20 04:22:31 +0000
commit527268df31e57cf2b6d417198717c6d6afdb1e3e (patch)
treefee09b2d814d48d7d6f09c31b64a5c6c435a918c /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
parentiscsi-target: fix iscsi cmd leak (diff)
downloadkernel-527268df31e57cf2b6d417198717c6d6afdb1e3e.tar.gz
kernel-527268df31e57cf2b6d417198717c6d6afdb1e3e.zip
target: Re-add missing SCF_ACK_KREF assignment in v4.1.y
This patch fixes a regression in >= v4.1.y code where the original SCF_ACK_KREF assignment in target_get_sess_cmd() was dropped upstream in commit 054922bb, but the series for addressing TMR ABORT_TASK + LUN_RESET with fabric session reinstatement in commit febe562c20 still depends on this code in transport_cmd_finish_abort(). The regression manifests itself as a se_cmd->cmd_kref +1 leak, where ABORT_TASK + LUN_RESET can hang indefinately for a specific I_T session for drivers using SCF_ACK_KREF, resulting in hung kthreads. This patch has been verified with v4.1.y code. Reported-by: Vaibhav Tandon <[email protected]> Tested-by: Vaibhav Tandon <[email protected]> Cc: Vaibhav Tandon <[email protected]> Cc: [email protected] # 4.1+ 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