The scsi_cmd structure defined in tgtd.h contains two similar named variables. uint32_t data_len and uint32_t len. I could not identify any code that used 'data_len' Also removing this from the structure resulted in a successful compile for iSCSI. I assume this is a dead variable and can be safely removed ? Regards Mark |