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
This commit is contained in:
Michael Tuexen 2019-03-25 16:40:54 +00:00
parent 689ed08920
commit 7c96d54f20

View File

@ -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;
}