]> err.no Git - linux-2.6/commit
[SCSI] iscsi bugfixes: fix r2t handling
authorMike Christie <michaelc@cs.wisc.edu>
Mon, 24 Jul 2006 20:47:15 +0000 (15:47 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Fri, 28 Jul 2006 16:47:40 +0000 (11:47 -0500)
commitb6c395ed0387c824ddf125d3b74b576a2575c149
tree76ca5cd982063335088384622e5033401bbc5057
parentd82967c70658a408ea6cae5dc989ba8b2c0999e1
[SCSI] iscsi bugfixes: fix r2t handling

The iscsi tcp code can pluck multiple rt2s from the tasks's r2tqueue
in the xmit code. This can result in the task being queued on the xmit queue
but gettting completed at the same time.

This patch fixes the above bug by making the fifo a list so
we always remove the entry on the list del.

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