Date: Mon, 22 Jul 2019 18:11:36 +0000 (UTC) From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r350216 - head/sys/netinet Message-ID: <201907221811.x6MIBaXe046412@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@. 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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907221811.x6MIBaXe046412>