diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2016-11-10 21:22:23 +0300 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2016-11-10 21:22:23 +0300 |
commit | 8a57646d28540b2a536f168df63b1b043b1d3386 (patch) | |
tree | 3cfd840a3f3302e848212eb892dd231f15a2f96b /drivers/scsi/cxgbi | |
parent | 49ce5b5f0371951c3ad751e71a63f487606738c3 (diff) | |
parent | 5e5ec1759dd663a1d5a2f10930224dd009e500e8 (diff) | |
download | linux-8a57646d28540b2a536f168df63b1b043b1d3386.tar.xz |
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.c | 3 |
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); |