Re: [PATCH v1 0/4] Descriptor format sense data

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

 



On Wed, 2015-07-15 at 10:55 +0300, Sagi Grimberg wrote:
> This small patchset addresses some issues with descriptor format
> sense data.
> 
> Patch 1 fixes wrong additional sense length for descriptor format
> information field.
> 
> Patch 2 protects against buffer overflow in scsi_set_information_sense
> (reported by Hannes).
> 
> Patch 3 converts the target stack to report descriptor format sense
> data to for LUs that spans 64bit sectors in order to avoid info
> truncation (reported by hch).
> 
> Patch 4 is a nit, it was included in this to avoid dependencies
> (patch 2/4)
> 
> Changes from v0:
> - Added patch 4/4 to avoid dependencies
> - Modified patch 3/4 to use descriptor format only for LUs that
>   span 64bit sectors.
> - Added reviwed-by tags.
> 
> Sagi Grimberg (4):
>   scsi: Fix wrong additional sense length in descriptor format
>   scsi: Protect against buffer possible overflow in
>     scsi_set_sense_information
>   target: Return descriptor format sense data in case the LU spans 64bit
>     sectors
>   libiscsi: Use scsi helper to set information descriptor
> 
>  drivers/ata/libata-scsi.c              |  4 +++-
>  drivers/scsi/libiscsi.c                |  9 +++------
>  drivers/scsi/scsi_common.c             | 15 +++++++++++++--
>  drivers/target/target_core_hba.c       |  5 +++++
>  drivers/target/target_core_spc.c       | 12 +++++++++---
>  drivers/target/target_core_transport.c | 17 +++++++++++++----
>  include/scsi/scsi_common.h             |  2 +-
>  include/target/target_core_backend.h   |  2 ++
>  8 files changed, 49 insertions(+), 17 deletions(-)
> 

Applied to target-pending/for-next, with the updated patch #3 and
review-by tags.

Thanks folks.

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