HomeFreeBSD

Don't blindly assume that the softc returned is going to match up to the

Description

Don't blindly assume that the softc returned is going to match up to the
em(4) notion of what an adapter struct is. Check to see if the device
matches *first* and *then* assume that we can use it as an adapter
structure for parsing.

Corrections and hints courtesy of jhb.

Details

Provenance
sbrunoAuthored on
Parents
rS281795: scsi_parse_transportid_rdma(): fix mismatch in memoty access size.
Branches
Unknown
Tags
Unknown

Event Timeline