]> git.baikalelectronics.ru Git - kernel.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)
commit7918fb6d4d76b8a8f01e0d267d7d4cdf4ecd3c59
tree0f30320469678b00d4f26af15663cf1a8b1f2ff3
parent5d1026853ff381b851fb549778aa10f5977b88da
[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