HomeFreeBSD

Always check cam_periph_error() status for ERESTART.

Description

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.

MFC after: 1 week
Sponsored by: iXsystems, Inc.

Details

Committed
mavAug 27 2019, 4:41 PM
Parents
rS351549: Remove an extraneous + 1 in _domainset_create().
Branches
Unknown
Tags
Unknown