summaryrefslogtreecommitdiff
path: root/drivers/scsi/ibmvscsi
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2008-12-01 18:13:00 (GMT)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-12-03 16:09:19 (GMT)
commitd3acf0226debeae22d87808f8f298386bd08e391 (patch)
treec4b63cd902f94d561126d65ff3e56a3c6463fa2d /drivers/scsi/ibmvscsi
parentb21227c5fcadab206e2a2373e5b288a351919abb (diff)
downloadlinux-d3acf0226debeae22d87808f8f298386bd08e391.tar.xz
[SCSI] libiscsi REGRESSION: fix passthrough support with older iscsi tools
This regression was added in 2.6.27, when the mtask and ctask were merged into the the common task struct. The patch applies to scsi-rc-fixes, but also applies to 2.6.27 with some offsets. The problem is that __iscsi_conn_send_pdu assumes that userspace was not sending nops with the format it is checking for in the "if" below. It turns out that older userspace tools are. This patch moves the setting of the internal ping_task tracker (it tracks libiscsi current outstanding nop) to iscsi_send_nopout which is only used by kernel callers. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/ibmvscsi')
0 files changed, 0 insertions, 0 deletions