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
Delta | File | |
---|---|---|
+4 | -9 | sys/netinet/sctp_usrreq.c |
+5 | -2 | sys/netinet/sctp_pcb.c |
+2 | -5 | sys/netinet6/sctp6_usrreq.c |
+2 | -4 | sys/netinet/sctp_output.c |
+5 | -1 | sys/netinet/sctp_pcb.h |
+2 | -2 | sys/netinet/sctp_input.c |
+20 | -23 | 6 files |