svn commit: r359822 - head/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Sun Apr 12 09:31:37 UTC 2020


Author: tuexen
Date: Sun Apr 12 09:31:36 2020
New Revision: 359822
URL: https://svnweb.freebsd.org/changeset/base/359822

Log:
  Revert https://svnweb.freebsd.org/changeset/base/359809
  
  The intended change was
  	sp->next.tqe_next = NULL;
  	sp->next.tqe_prev = NULL;
  which doesn't fix the issue I'm seeing and the committed fix is
  not the intended fix due to copy-and-paste.
  
  Thanks a lot to Conrad Meyer for making me aware of the problem.
  
  Reported by:		cem

Modified:
  head/sys/netinet/sctp_output.c

Modified: head/sys/netinet/sctp_output.c
==============================================================================
--- head/sys/netinet/sctp_output.c	Sun Apr 12 06:01:03 2020	(r359821)
+++ head/sys/netinet/sctp_output.c	Sun Apr 12 09:31:36 2020	(r359822)
@@ -12275,8 +12275,6 @@ sctp_send_str_reset_req(struct sctp_tcb *stcb,
 			/* now anything on those queues? */
 			TAILQ_FOREACH_SAFE(sp, &oldstream[i].outqueue, next, nsp) {
 				TAILQ_REMOVE(&oldstream[i].outqueue, sp, next);
-				sp->ss_next.tqe_next = NULL;
-				sp->ss_next.tqe_prev = NULL;
 				TAILQ_INSERT_TAIL(&stcb->asoc.strmout[i].outqueue, sp, next);
 			}
 


More information about the svn-src-head mailing list