Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2019 08:47:28 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r347659 - stable/11/sys/netinet
Message-ID:  <201905160847.x4G8lSD4023617@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Thu May 16 08:47:28 2019
New Revision: 347659
URL: https://svnweb.freebsd.org/changeset/base/347659

Log:
  MFC r343961:
  
  Fix a locking issue when reporing outbount messages.

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

Modified: stable/11/sys/netinet/sctputil.c
==============================================================================
--- stable/11/sys/netinet/sctputil.c	Thu May 16 08:45:54 2019	(r347658)
+++ stable/11/sys/netinet/sctputil.c	Thu May 16 08:47:28 2019	(r347659)
@@ -3942,7 +3942,7 @@ sctp_report_all_outbound(struct sctp_tcb *stcb, uint16
 		TAILQ_FOREACH_SAFE(sp, &outs->outqueue, next, nsp) {
 			atomic_subtract_int(&asoc->stream_queue_cnt, 1);
 			TAILQ_REMOVE(&outs->outqueue, sp, next);
-			stcb->asoc.ss_functions.sctp_ss_remove_from_stream(stcb, asoc, outs, sp, holds_lock);
+			stcb->asoc.ss_functions.sctp_ss_remove_from_stream(stcb, asoc, outs, sp, 1);
 			sctp_free_spbufspace(stcb, asoc, sp);
 			if (sp->data) {
 				sctp_ulp_notify(SCTP_NOTIFY_SPECIAL_SP_FAIL, stcb,



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