Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Mar 2019 16:40:54 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r345505 - head/sys/netinet
Message-ID:  <201903251640.x2PGesW6041578@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@. 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;
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903251640.x2PGesW6041578>