summaryrefslogtreecommitdiffstats
path: root/security/keys
diff options
context:
space:
mode:
authorQuinn Tran <quinn.tran@cavium.com>2018-09-11 10:18:23 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2018-09-11 20:28:10 -0400
commitd594db018792f3f6990455cbf33d31dd3c707b38 (patch)
treee71a06918bcbd3d78cc9e64541828f26eab3731d /security/keys
parent56d942de59ebfa2e970a6cd33299d1984710b6c0 (diff)
downloadblackbird-obmc-linux-d594db018792f3f6990455cbf33d31dd3c707b38.tar.gz
blackbird-obmc-linux-d594db018792f3f6990455cbf33d31dd3c707b38.zip
scsi: qla2xxx: Fix premature command free
When qla2xxx and Target Core gets out of sync during command cleanup, qla2xxx will not free command until it is out of firmware's hand and Target Core has called the release on the command. This patch adds synchronization using cmd_lock and release flag. If the release flag is set, then qla2xxx will free up the command using qlt_free_cmd() otherwise transport_generic_free_cmd() will be responsible for relase of the command. Signed-off-by: Quinn Tran <quinn.tran@cavium.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'security/keys')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud