diff options
author | Michael Tuexen <tuexen@FreeBSD.org> | 2019-03-03 19:55:06 +0000 |
---|---|---|
committer | Michael Tuexen <tuexen@FreeBSD.org> | 2019-03-03 19:55:06 +0000 |
commit | be62c88b806af01f6aa8db4ba9871f87825c100c (patch) | |
tree | f456238df8cab2c6b666cfb19b09e3a9160f434f /sys/cam/ctl | |
parent | 3fe00ac4836b6c747a074b9900052a475d003d2a (diff) | |
download | src-be62c88b806af01f6aa8db4ba9871f87825c100c.tar.gz src-be62c88b806af01f6aa8db4ba9871f87825c100c.zip |
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
Notes
Notes:
svn path=/head/; revision=344742
Diffstat (limited to 'sys/cam/ctl')
0 files changed, 0 insertions, 0 deletions