[SCSI] libiscsi: clear conn->ctask when task is completed early
authorMike Christie <michaelc@cs.wisc.edu>
Thu, 13 Dec 2007 18:43:33 +0000 (12:43 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jan 2008 00:28:39 +0000 (18:28 -0600)
If the current ctask is failed early, we legt the conn->ctask pointer
pointing to a invalid task. When the xmit thread would send data for
it, we would then oops.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

No differences found