]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[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)
commitc1635cb786dbadd16fd6e6959dd3b41ae2f2831a
tree0f30320469678b00d4f26af15663cf1a8b1f2ff3
parent9000bcd649b26aef4c35d2941f8a65f05bbb9ee1
[SCSI] libiscsi: clear conn->ctask when task is completed early

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>
drivers/scsi/libiscsi.c