[SCSI] iscsi bugfixes: fix abort handling
authorMike Christie <michaelc@cs.wisc.edu>
Mon, 24 Jul 2006 20:47:22 +0000 (15:47 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Fri, 28 Jul 2006 16:48:16 +0000 (11:48 -0500)
commit7ea8b82847293c2311cf08fc3ed31ab0e452a27e
treeeab8e9be7cc779cc3c9e48774fcb4b33ebb2c8df
parent275fd7d129fdd16d1dc0ec6a8d60bd6b72a76e31
[SCSI] iscsi bugfixes: fix abort handling

Abort handler fixes.

If a connection is dropped and reconnected while an abort is
running then we should assume the recovery code will clean up
the abort. Not doing so causes a oops.

And if a command completes then we get the status for the abort, we do not
need to call into the LLD to cleanup the resources. Doing this causes
and oops in iser because it ends up freeing some resources twice.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/libiscsi.c
include/scsi/libiscsi.h