Wakeup the application when doing PD-API for unordered DATA chunks.

Work done with rrs@.

MFC after:		1 week
This commit is contained in:
Michael Tuexen 2019-07-22 18:11:35 +00:00
parent 30a42307a7
commit f1903dc055

View File

@ -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;