Re: [PATCH] sg: limit maximum cdb size to 252 bytes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "Doug" == Douglas Gilbert <dgilbert@xxxxxxxxxxxx> writes:

Doug> Boaz Harrosh commented on the "[PATCH v5] sg: relax 16 byte cdb
Doug> restriction" thread that SCSI variable length commands (which are
Doug> all SCSI commands greater than 16 bytes long) must themselves be a
Doug> multiple of 4 bytes long.

Doug> ChangeLog
Doug>   - limit the maximum cdb size permitted by the sg
Doug>     v3 interface to 252 bytes. Commands that large are called
Doug>     "variable length" and their length needs to be a multiple of
Doug>     4.

Doug> Original patch:
Doug>   Reviewed-by: Boaz Harrosh <boaz@xxxxxxxxxxxxxxx>

Doug> Signed-off-by: Douglas Gilbert <dgilbert@xxxxxxxxxxxx>

Reviewed-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>

-- 
Martin K. Petersen	Oracle Linux Engineering
--
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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux