05 Apr, 2016

1 commit


24 Jul, 2015

2 commits

  • Make sure that the input sense buffer has sufficient length
    to fit the information descriptor (12 additional bytes).
    Modify scsi_set_sense_information to receive the sense buffer
    length and adjust its callers scsi target and libata.

    (Fix patch fuzz in scsi_set_sense_information - nab)

    Reported-by: Hannes Reinecke
    Signed-off-by: Sagi Grimberg
    Reviewed-by: Martin K. Petersen
    Cc: Tejun Heo
    Reviewed-by: Christoph Hellwig
    Signed-off-by: Nicholas Bellinger

    Sagi Grimberg
     
  • Sense data handling is also done in the target stack.
    Hence, move sense handling routines to scsi_common so
    the target will be able to use them as well.

    Signed-off-by: Sagi Grimberg
    Reviewed-by: Bart Van Assche
    Reviewed-by: Christoph Hellwig
    Reviewed-by: Hannes Reinecke
    Reviewed-by: Martin K. Petersen
    Signed-off-by: Nicholas Bellinger

    Sagi Grimberg
     

01 Jun, 2015

1 commit

  • Move the functions that are used by both the initiator and target
    subsystems into scsi_common.c/.h. This change will allow to remove
    the initiator SCSI header include directives from most SCSI target
    source files in a later patch.

    Signed-off-by: Bart Van Assche
    Reviewed-by: Hannes Reinecke
    Reviewed-by: Christoph Hellwig
    Signed-off-by: James Bottomley

    Bart Van Assche