From 7c96d54f205bbcc3d0e930e0e847c8e73656b133 Mon Sep 17 00:00:00 2001 From: Michael Tuexen Date: Mon, 25 Mar 2019 16:40:54 +0000 Subject: [PATCH] Initialize scheduler specific data for the FCFS scheduler. This is joint work with rrs@. The issue was reported by using syzkaller. MFC after: 1 week --- sys/netinet/sctp_ss_functions.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/netinet/sctp_ss_functions.c b/sys/netinet/sctp_ss_functions.c index 97b3e75a834..2d9f92bcd83 100644 --- a/sys/netinet/sctp_ss_functions.c +++ b/sys/netinet/sctp_ss_functions.c @@ -838,6 +838,8 @@ sctp_ss_fcfs_init_stream(struct sctp_tcb *stcb, struct sctp_stream_out *strq, st 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; } -- 2.45.0