HomeFreeBSD

Fix SES on device slots without phys after r349321.

Description

Fix SES on device slots without phys after r349321.

Broadcom 9400-8i8e HBAs report virtual SES device, where slots representing
external connectors are reported having no phys. Since sasdev_phys is NULL
there and proto_hdr is a union, ses_paths_iter() misinterpreted them as ATA.
Add explicit protocol check to properly differentiate them.

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

Details

Provenance
mavAuthored on Mar 19 2020, 5:20 PM
Parents
rG429537caeb13: kern_dup(): Call filecaps_free_prep() in a write section.
Branches
Unknown
Tags
Unknown

Event Timeline