svn commit: r346134 - head/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Tue Sep 3 14:07:29 UTC 2019
Author: tuexen
Date: Thu Apr 11 20:39:12 2019
New Revision: 346134
URL: https://svnweb.freebsd.org/changeset/base/346134
Log:
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.
MFC after: 1 week
Modified:
head/sys/netinet/sctputil.c
Modified: head/sys/netinet/sctputil.c
==============================================================================
--- head/sys/netinet/sctputil.c Thu Apr 11 17:20:15 2019 (r346133)
+++ head/sys/netinet/sctputil.c Thu Apr 11 20:39:12 2019 (r346134)
@@ -3995,7 +3995,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 {
More information about the svn-src-all
mailing list