⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 269799 in webkit


Ignore:
Timestamp:
Nov 13, 2020, 2:22:01 PM (6 years ago)
Author:
Russell Epstein
Message:

Apply patch. rdar://problem/71378194

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-610-branch/Source/ThirdParty/libwebrtc/Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_indata.c

    r239418 r269799  
    16631663{
    16641664        struct sctp_tmit_chunk *chk = NULL; /* make gcc happy */
     1665        struct sctp_stream_in *strm;
    16651666        uint32_t tsn, fsn, gap, mid;
    16661667        struct mbuf *dmbuf;
     
    22952296                        TAILQ_FOREACH_SAFE(control, &asoc->pending_reply_queue, next, ncontrol) {
    22962297                                TAILQ_REMOVE(&asoc->pending_reply_queue, control, next);
     2298                                strm = &asoc->strmin[control->sinfo_stream];
    22972299                                sctp_queue_data_to_stream(stcb, asoc, control, abort_flag, &need_reasm_check);
    22982300                                if (*abort_flag) {
     
    23002302                                }
    23012303                                if (need_reasm_check) {
    2302                                         (void)sctp_deliver_reasm_check(stcb, asoc, &asoc->strmin[control->sinfo_stream], SCTP_READ_LOCK_NOT_HELD);
     2304                                        (void)sctp_deliver_reasm_check(stcb, asoc, strm, SCTP_READ_LOCK_NOT_HELD);
    23032305                                        need_reasm_check = 0;
    23042306                                }
     
    23152317                                 */
    23162318                                TAILQ_REMOVE(&asoc->pending_reply_queue, control, next);
     2319                                strm = &asoc->strmin[control->sinfo_stream];
    23172320                                sctp_queue_data_to_stream(stcb, asoc, control, abort_flag, &need_reasm_check);
    23182321                                if (*abort_flag) {
     
    23202323                                }
    23212324                                if (need_reasm_check) {
    2322                                         (void)sctp_deliver_reasm_check(stcb, asoc, &asoc->strmin[control->sinfo_stream], SCTP_READ_LOCK_NOT_HELD);
     2325                                        (void)sctp_deliver_reasm_check(stcb, asoc, strm, SCTP_READ_LOCK_NOT_HELD);
    23232326                                        need_reasm_check = 0;
    23242327                                }
Note: See TracChangeset for help on using the changeset viewer.