svn commit: r347659 - stable/11/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Thu May 16 08:47:29 UTC 2019
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,
More information about the svn-src-stable-11
mailing list