HomeFreeBSD

When calling sctp_initialize_auth_params(), the inp must have at

Description

When calling sctp_initialize_auth_params(), the inp must have at
least a read lock. To avoid more complex locking dances, just
call it in sctp_aloc_assoc() when the write lock is still held.

Reported by: syzbot+08a486f7e6966f1c3cfb@syzkaller.appspotmail.com
MFC after: 1 week

Details

Provenance
tuexenAuthored on
Parents
rS349985: MFC r349913:
Branches
Unknown
Tags
Unknown