HomeFreeBSD

When we have errors resetting the device before we allocate the

Description

When we have errors resetting the device before we allocate the
queues, don't try to tear them down in the ctrlr_destroy
path. Otherwise, we dereference queue structures that are NULL and we
trap.

This fix is incomplete: we leak IRQ and MSI resources when this
happens. That's preferable to a crash but still should be fixed.

Details

Provenance
impAuthored on Aug 22 2019, 9:56 PM
Parents
rGda8147c3c556: libsa: mips: fix typo that had slipped into the diff on local machine
Branches
Unknown
Tags
Unknown

Event Timeline