svn commit: r351979 - stable/12/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Sat Sep 7 11:19:56 UTC 2019


Author: tuexen
Date: Sat Sep  7 11:19:55 2019
New Revision: 351979
URL: https://svnweb.freebsd.org/changeset/base/351979

Log:
  MFC r350216:
  
  Wakeup the application when doing PD-API for unordered DATA chunks.
  Work done with rrs at .

Modified:
  stable/12/sys/netinet/sctp_indata.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/netinet/sctp_indata.c
==============================================================================
--- stable/12/sys/netinet/sctp_indata.c	Sat Sep  7 10:57:47 2019	(r351978)
+++ stable/12/sys/netinet/sctp_indata.c	Sat Sep  7 11:19:55 2019	(r351979)
@@ -915,6 +915,9 @@ restart:
 			break;
 		}
 	}
+	if (cnt_added && strm->pd_api_started) {
+		sctp_wakeup_the_read_socket(stcb->sctp_ep, stcb, SCTP_SO_NOT_LOCKED);
+	}
 	if ((control->length > pd_point) && (strm->pd_api_started == 0)) {
 		strm->pd_api_started = 1;
 		control->pdapi_started = 1;


More information about the svn-src-all mailing list