Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2019 09:33:38 +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: r347681 - stable/11/sys/netinet
Message-ID:  <201905160933.x4G9Xci2051396@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Thu May 16 09:33:38 2019
New Revision: 347681
URL: https://svnweb.freebsd.org/changeset/base/347681

Log:
  MFC r346134:
  
  Fix an SCTP related locking issue. Don't report that the TCB_SEND_LOCK
  is owned, when it is not.
  
  This issue was found by running syzkaller.

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 09:32:00 2019	(r347680)
+++ stable/11/sys/netinet/sctputil.c	Thu May 16 09:33:38 2019	(r347681)
@@ -3991,7 +3991,7 @@ sctp_abort_notification(struct sctp_tcb *stcb, uint8_t
 		return;
 	}
 	/* Tell them we lost the asoc */
-	sctp_report_all_outbound(stcb, error, 1, so_locked);
+	sctp_report_all_outbound(stcb, error, 0, so_locked);
 	if (from_peer) {
 		sctp_ulp_notify(SCTP_NOTIFY_ASSOC_REM_ABORTED, stcb, error, abort, so_locked);
 	} else {



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