From: Mike Christie Date: Wed, 15 Aug 2007 06:38:29 +0000 (-0500) Subject: [SCSI] libiscsi: fix null ptr regression when aborting a command with data to transfer X-Git-Tag: v2.6.23-rc7~101^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96809f1b15eddae2325b2ab78e6f931edc969074;p=pandora-kernel.git [SCSI] libiscsi: fix null ptr regression when aborting a command with data to transfer 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 Signed-off-by: James Bottomley --- Reading git-diff-tree failed