HomeFreeBSD

MFC r351550: Always check cam_periph_error() status for ERESTART.

Description

MFC r351550: Always check cam_periph_error() status for ERESTART.

Even if we do not expect retries, we better be sure, since otherwise it
may result in use after free kernel panic. I've noticed that it retries
SCSI_STATUS_BUSY even with SF_NO_RECOVERY | SF_NO_RETRY.

Details

Committed
mavSep 3 2019, 2:52 PM
Parents
rS351744: Revert a portion of r351628 that I did not mean to commit.
Branches
Unknown
Tags
Unknown