svn commit: r345505 - head/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Mon Mar 25 16:40:55 UTC 2019
Author: tuexen
Date: Mon Mar 25 16:40:54 2019
New Revision: 345505
URL: https://svnweb.freebsd.org/changeset/base/345505
Log:
Initialize scheduler specific data for the FCFS scheduler.
This is joint work with rrs at . The issue was reported by using
syzkaller.
MFC after: 1 week
Modified:
head/sys/netinet/sctp_ss_functions.c
Modified: head/sys/netinet/sctp_ss_functions.c
==============================================================================
--- head/sys/netinet/sctp_ss_functions.c Mon Mar 25 15:23:20 2019 (r345504)
+++ head/sys/netinet/sctp_ss_functions.c Mon Mar 25 16:40:54 2019 (r345505)
@@ -838,6 +838,8 @@ sctp_ss_fcfs_init_stream(struct sctp_tcb *stcb, struct
stcb->asoc.ss_data.last_out_stream = strq;
}
}
+ strq->ss_params.fb.next_spoke.tqe_next = NULL;
+ strq->ss_params.fb.next_spoke.tqe_prev = NULL;
return;
}
More information about the svn-src-all
mailing list