scsi: libcxgbi: fix incorrect DDP resource cleanup
authorVarun Prakash <varun@chelsio.com>
Sat, 5 Nov 2016 16:19:28 +0000 (21:49 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 9 Nov 2016 00:11:01 +0000 (19:11 -0500)
commit69e2d1e6c0af0dd7f18cfd434b008844568641a9
tree4090d7dd9018c332dcb1b3ca0c213f5995a151f9
parenta5dd506e1584e91f3e7500ab9a165aa1b49eabd4
scsi: libcxgbi: fix incorrect DDP resource cleanup

Before calling task_release_itt() task data is memset to zero because of
which DDP context information is lost resulting in incorrect DDP
resource cleanup, to fix this call task_release_itt() before memset.

Signed-off-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/cxgbi/libcxgbi.c