HomeFreeBSD

MFC 344671: Don't assume all children of a nexus are ports.

Description

MFC 344671: Don't assume all children of a nexus are ports.

Specifically, ccr(4) devices are also children of cxgbe nexus devices.
Rather than making assumptions about the child device's softc, walk
the list of ports from the nexus' softc to determine if a child is a
port in t4_child_location_str(). This fixes a panic when detaching a
ccr device.

Details

Provenance
jhbAuthored on
Parents
rS344932: MFC 343620: Don't set IFCAP_TXRTLMT during lagg_clone_create().
Branches
Unknown
Tags
Unknown