mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-13 14:40:22 +00:00
Wakeup the application when doing PD-API for unordered DATA chunks.
Work done with rrs@. MFC after: 1 week
This commit is contained in:
parent
30a42307a7
commit
f1903dc055
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=350216
@ -915,6 +915,9 @@ sctp_handle_old_unordered_data(struct sctp_tcb *stcb,
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user