Re: [PATCH] SCSI/libsrp: fix bug in ADDITIONAL CDB LENGTH interpretation

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

 



On Wed, 9 Dec 2009 19:52:19 +0100
Bart Van Assche <bart.vanassche@xxxxxxxxx> wrote:

> Fix a bug in the interpretation of the ADDITIONAL CDB LENGTH (add_cdb_len)
> field of SRP_CMD requests. According to the SRP specification, the layout
> of this single-byte field is as follows:
> * Bits 0 and 1 are reserved.
> * Bits 2 to 7 represent the ADDITIONAL CDB LENGTH field, symbolically
>   represented as n.
> * Still according to the SRP specification, the ADDITIONAL CDB section
>   takes 4*n bytes.
> 
> Currently libsrp is only used by the ibmvscsi driver. Since the ibmvscsi
> driver doesn't support large CDB's, this bug hasn't caused any problems yet.
> 
> Signed-off-by: Bart Van Assche <bart.vanassche@xxxxxxxxx>
> Cc: James E.J. Bottomley <James.Bottomley@xxxxxxx>
> Cc: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>
> Cc: Brian King <brking@xxxxxxxxxxxxxxxxxx>

Acked-by: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>

Thanks,
--
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