[Midnightbsd-cvs] [MidnightBSD/src] dafba4: When a CAM-managed device responds to a command wi...

Lucas Holt noreply at github.com
Wed Aug 10 06:15:08 EDT 2022


  Branch: refs/heads/stable/2.2
  Home:   https://github.com/MidnightBSD/src
  Commit: dafba4e4618d7e738d998024156935f5324bd8b3
      https://github.com/MidnightBSD/src/commit/dafba4e4618d7e738d998024156935f5324bd8b3
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2022-08-10 (Wed, 10 Aug 2022)

  Changed paths:
    M sys/cam/cam_periph.c

  Log Message:
  -----------
  When a CAM-managed device responds to a command with an error condition,
CAM may automatically retry the command following some error recovery
protocol.  For instance, it may send a SCSI START UNIT command to the
device before retrying the failed command.  In this case, an in-memory
copy of the original command is preserved for a later retry.  However,
a specific portion of the command state was not saved correctly, and
upon a retry this could lead to memory corruption.

Obtained from: FreeBSD




More information about the Midnightbsd-cvs mailing list