HomeFreeBSD

cxgbe(4): Fix panic on driver detach after a partially failed attach.

Description

cxgbe(4): Fix panic on driver detach after a partially failed attach.

sge->ctrlq is not always allocated during attach (eg. if firmware
initialization fails) and detach should be able to deal with this.

Sponsored by: Chelsio Communications

(cherry picked from commit b99651c52fa52cdef5688859e0bc7f3fb2085a2f)

Details

Provenance
npAuthored on Dec 29 2021, 12:46 AM
Parents
rG6be5e0727592: cxgbe(4): Update firmwares to 1.26.4.0
Branches
Unknown
Tags
Unknown