Author: tuexen
Date: Thu May 16 09:29:49 2019
New Revision: 347679
URL: https://svnweb.freebsd.org/changeset/base/347679

Log:
  MFC r345505:
  
  Initialize scheduler specific data for the FCFS scheduler.
  This is joint work with rrs@. The issue was reported by using
  syzkaller.

Modified:
  stable/11/sys/netinet/sctp_ss_functions.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/netinet/sctp_ss_functions.c
==============================================================================
--- stable/11/sys/netinet/sctp_ss_functions.c   Thu May 16 09:28:34 2019        
(r347678)
+++ stable/11/sys/netinet/sctp_ss_functions.c   Thu May 16 09:29:49 2019        
(r347679)
@@ -836,6 +836,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;
 }
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to