[stgt] [PATCH 1/1] SCSI: verify that we dont try to write beyond end-of-lun for the WRITE* CDBs

ronnie sahlberg ronniesahlberg at gmail.com
Fri Apr 15 23:43:54 CEST 2011


List, Tomo

Please find a small patch attached that expands the 'check we are not
reading beyond end-of-lun'
to also cover the write case and make WRITE* CDBs also fail with the
correct sense key/ascq


regards
ronnie sahlberg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Verify-that-we-are-not-writing-beyond-the-end-of-the.patch.gz
Type: application/x-gzip
Size: 647 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/stgt/attachments/20110416/8947102e/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Verify-that-we-are-not-writing-beyond-the-end-of-the.patch
Type: text/x-diff
Size: 1196 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/stgt/attachments/20110416/8947102e/attachment-0001.patch>


More information about the stgt mailing list