svn commit: r350216 - head/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Mon Jul 22 18:11:36 UTC 2019
Author: tuexen
Date: Mon Jul 22 18:11:35 2019
New Revision: 350216
URL: https://svnweb.freebsd.org/changeset/base/350216
Log:
Wakeup the application when doing PD-API for unordered DATA chunks.
Work done with rrs at .
MFC after: 1 week
Modified:
head/sys/netinet/sctp_indata.c
Modified: head/sys/netinet/sctp_indata.c
==============================================================================
--- head/sys/netinet/sctp_indata.c Mon Jul 22 17:25:35 2019 (r350215)
+++ head/sys/netinet/sctp_indata.c Mon Jul 22 18:11:35 2019 (r350216)
@@ -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