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.

MFC after: 1 week
Sponsored by: Chelsio Communications

Details

Provenance
npAuthored on Dec 29 2021, 12:46 AM
Parents
rGc74ab5ce6f25: iscsid: Always free the duplicated address in resolve_addr().
Branches
Unknown
Tags
Unknown