On 08/06/2014 05:37 PM, Anish Bhatt wrote > @@ -436,12 +473,12 @@ static int iscsi_prep_scsi_cmd_pdu(struct iscsi_task *task) > /* No unsolicit Data-Out's */ > hdr->flags |= ISCSI_FLAG_CMD_FINAL; > } else { > + unsigned in_len = iscsi_scsi_in_total_length(sc); > hdr->flags |= ISCSI_FLAG_CMD_FINAL; > zero_data(hdr->dlength); > - hdr->data_length = cpu_to_be32(scsi_in(sc)->length); > - > if (sc->sc_data_direction == DMA_FROM_DEVICE) > hdr->flags |= ISCSI_FLAG_CMD_READ; > + hdr->data_length = cpu_to_be32(in_len); > } > What tree and branch did you make these over? Have you seen the patches from Sagi for iser and libiscsi support? Could you rebuild this over Christoph's tree which has his patches: git://git.infradead.org/users/hch/scsi-queue.git -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html