HomeFreeBSD

Allocate an assocition id and register the stcb with holding the lock.

Description

Allocate an assocition id and register the stcb with holding the lock.
This avoids a race where stcbs can be found, which are not completely
initialized.

This was found by running syzkaller.

MFC after: 3 days

Details

Committed
tuexenMar 3 2019, 7:55 PM
Parents
rS344741: Remove bogus assert that I added in r319722. It is a legitimate case
Branches
Unknown
Tags
Unknown