HomeFreeBSD

cam: Fix race condition in dainit()

Description

cam: Fix race condition in dainit()

Previously, daregister() could have been called before dainit()
initialized the UMA zone. This would trip a KASSERT.

Reported By: pho
Tested By: pho
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.

Details

Provenance
traszAuthored on May 16 2021, 9:35 AM
Parents
rG0f206cc91279: cam: add missing zeroing of a stack-allocated CCB.
Branches
Unknown
Tags
Unknown