[stgt] [PATCH] Fix corrupted modesense pages

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Sun Jun 9 02:24:47 CEST 2013


On Sat,  8 Jun 2013 07:54:07 -0700
Ronnie Sahlberg <ronniesahlberg at gmail.com> wrote:

> Two argumens were swapped in the header to the function for safe writing to the data-out buffer with
> the result that any/all modesense data-in we send back to the initiator are mainly garbage.
> 
> Fix this and also add tests for this to libiscsi so that we can catch any future regressions :
> 
>     ./bin/iscsi-test-cu iscsi://127.0.0.1/iqn.ronnie.test/1 --test SCSI.ModeSense6.AllPages -V
> 
> Signed-off-by: Ronnie Sahlberg <ronniesahlberg at gmail.com>
> ---
>  usr/spc.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks!
--
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