HomeFreeBSD

devclass: make devclass_alloc_unit use M_NOWAIT

Description

devclass: make devclass_alloc_unit use M_NOWAIT

The only caller already does this.

The routine can be called with a mutex held making M_WAITOK illegal.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
mjgAuthored on Thu, Mar 6, 11:01 AM
Parents
rG23f453ae34c2: vnet: Use static initializers
Branches
Unknown
Tags
Unknown
Reverted By
D49273: devclass_alloc_unit: Go back to using M_WAITOK