HomeFreeBSD

mpr/mps: Minor state machine fix

Description

mpr/mps: Minor state machine fix

When a DMA chain can't be loaded, set the state to STATE_INQUEUE so that
the mp[rs]_complete_command can properly fail the command.

Sponsored by: Netflix

(cherry picked from commit 33755dbb207878c10fd99de39dadf89fad713bc7)

Details

Provenance
impAuthored on Jun 3 2021, 7:46 PM
mavCommitted on Sep 3 2021, 12:34 AM
Parents
rG8a6e5ade1699: Fix mpr(4) and mps(4) state transitions and a use-after-free panic.
Branches
Unknown
Tags
Unknown