HomeFreeBSD

Hoist locking giant back up into the ioctl handler

Description

Hoist locking giant back up into the ioctl handler

Move the locking back into the ioctl handler. This "fixes" the race where we hve
a hot plug event just after the dropping of Giant in pci_find_dbsf, assuming the
driver doesn't then call anything that drops and picks up Giant again... It's a
little safer since don't think it doesn't, but we lack the tools to know for
sure.

Details

Provenance
impAuthored on
Parents
rS355056: Fix leak in state machine for commands.
Branches
Unknown
Tags
Unknown