[SCSI] libiscsi: fix null ptr regression when aborting a command with data to transfer
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 15 Aug 2007 06:38:29 +0000 (01:38 -0500)
committerJames Bottomley <jejb@mulgrave.localdomain>
Wed, 15 Aug 2007 18:08:14 +0000 (13:08 -0500)
We do not want to send data if we are aborting a task. There is
a check in iscsi_xmit_ctask, but right before calling this we overwrite
the state so we always go right past the test. Sending data causes problems
because when we clean up from a successful abort the LLD assumes that
the task is not running.

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

No differences found