summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/cxgbi
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2016-11-10 10:22:23 -0800
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2016-11-10 10:22:23 -0800
commit8a57646d28540b2a536f168df63b1b043b1d3386 (patch)
tree3cfd840a3f3302e848212eb892dd231f15a2f96b /drivers/scsi/cxgbi
parent49ce5b5f0371951c3ad751e71a63f487606738c3 (diff)
parent5e5ec1759dd663a1d5a2f10930224dd009e500e8 (diff)
downloadtalos-obmc-linux-8a57646d28540b2a536f168df63b1b043b1d3386.tar.gz
talos-obmc-linux-8a57646d28540b2a536f168df63b1b043b1d3386.zip
Merge remote-tracking branch 'mkp-scsi/4.9/scsi-fixes' into fixes
Diffstat (limited to 'drivers/scsi/cxgbi')
-rw-r--r--drivers/scsi/cxgbi/libcxgbi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/cxgbi/libcxgbi.c b/drivers/scsi/cxgbi/libcxgbi.c
index d1421139e6ea..2ffe029ff2b6 100644
--- a/drivers/scsi/cxgbi/libcxgbi.c
+++ b/drivers/scsi/cxgbi/libcxgbi.c
@@ -2081,9 +2081,10 @@ void cxgbi_cleanup_task(struct iscsi_task *task)
/* never reached the xmit task callout */
if (tdata->skb)
__kfree_skb(tdata->skb);
- memset(tdata, 0, sizeof(*tdata));
task_release_itt(task, task->hdr_itt);
+ memset(tdata, 0, sizeof(*tdata));
+
iscsi_tcp_cleanup_task(task);
}
EXPORT_SYMBOL_GPL(cxgbi_cleanup_task);
OpenPOWER on IntegriCloud