[stgt] [PATCH] Fix ModeSense6

Ronnie Sahlberg ronniesahlberg at gmail.com
Fri May 31 07:30:31 CEST 2013

List, Tomo

Please find a small patch that fixes two bugs in mode-sense
ModeSense must have been broken for a while.

1, Fix two arguments that were swapped in set_byte_safe() which led to the mode sense data-in alays beeing corrupt, so initiators can not read it.

2, These commands never return residual under/overflow so dont set the residuals for them

Libiscsi test suite verifies that these issues are fixed now in
./bin/iscsi-test-cu iscsi:// --test SCSI.ModeSense6.* -V

To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

More information about the stgt mailing list