FreeBSD/src 8a956ab (r349986)sys/netinet sctp_usrreq.c sctp_pcb.c, sys/netinet6 sctp6_usrreq.c

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 at syzkaller.appspotmail.com
MFC after:              1 week
DeltaFile
+4-9sys/netinet/sctp_usrreq.c
+5-2sys/netinet/sctp_pcb.c
+2-5sys/netinet6/sctp6_usrreq.c
+2-4sys/netinet/sctp_output.c
+5-1sys/netinet/sctp_pcb.h
+2-2sys/netinet/sctp_input.c
+20-236 files

UnifiedSplitRaw