svn commit: r360711 - stable/11/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Wed May 6 22:16:14 UTC 2020
Author: tuexen
Date: Wed May 6 22:16:14 2020
New Revision: 360711
URL: https://svnweb.freebsd.org/changeset/base/360711
Log:
MFC r350216: Improve PD-API for SCTP
Wakeup the application when doing PD-API for unordered DATA chunks.
Work done with rrs at .
Modified:
stable/11/sys/netinet/sctp_indata.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/netinet/sctp_indata.c
==============================================================================
--- stable/11/sys/netinet/sctp_indata.c Wed May 6 22:15:09 2020 (r360710)
+++ stable/11/sys/netinet/sctp_indata.c Wed May 6 22:16:14 2020 (r360711)
@@ -913,6 +913,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-stable-11
mailing list