Changeset 277332 in webkit
- Timestamp:
- May 11, 2021, 11:01:25 AM (5 years ago)
- Location:
- trunk/Source/ThirdParty/libwebrtc
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_input.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/ThirdParty/libwebrtc/ChangeLog
r277176 r277332 1 2021-05-11 Youenn Fablet <youenn@apple.com> 2 3 Improve usrsctp restart handling 4 https://bugs.webkit.org/show_bug.cgi?id=225638 5 <rdar://77582953> 6 7 Reviewed by Alex Christensen. 8 9 * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_input.c: 10 (sctp_process_cookie_existing): 11 1 12 2021-05-07 Alex Christensen <achristensen@webkit.org> 2 13 -
trunk/Source/ThirdParty/libwebrtc/Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_input.c
r272216 r277332 2006 2006 if (how_indx < sizeof(asoc->cookie_how)) 2007 2007 asoc->cookie_how[how_indx] = 12; 2008 sctp_timer_stop(SCTP_TIMER_TYPE_INIT, inp, stcb, net, 2009 SCTP_FROM_SCTP_INPUT + SCTP_LOC_16); 2010 sctp_timer_stop(SCTP_TIMER_TYPE_HEARTBEAT, inp, stcb, net, 2011 SCTP_FROM_SCTP_INPUT + SCTP_LOC_17); 2012 2008 sctp_stop_association_timers(stcb, false); 2013 2009 /* notify upper layer */ 2014 2010 *notification = SCTP_NOTIFY_ASSOC_RESTART; … … 2043 2039 asoc->advanced_peer_ack_point = asoc->last_acked_seq; 2044 2040 asoc->send_sack = 1; 2041 asoc->data_pkts_seen = 0; 2042 asoc->last_data_chunk_from = NULL; 2043 asoc->last_control_chunk_from = NULL; 2044 asoc->last_net_cmt_send_started = NULL; 2045 2045 if (asoc->mapping_array) { 2046 2046 memset(asoc->mapping_array, 0, … … 2107 2107 SCTP_DECR_CHK_COUNT(); 2108 2108 } 2109 asoc->ctrl_queue_cnt = 0; 2110 asoc->str_reset = NULL; 2111 asoc->stream_reset_outstanding = 0; 2109 2112 TAILQ_FOREACH_SAFE(chk, &asoc->asconf_send_queue, sctp_next, nchk) { 2110 2113 TAILQ_REMOVE(&asoc->asconf_send_queue, chk, sctp_next); … … 2177 2180 } 2178 2181 /* respond with a COOKIE-ACK */ 2179 sctp_stop_all_cookie_timers(stcb);2180 sctp_toss_old_cookies(stcb, asoc);2181 2182 sctp_send_cookie_ack(stcb); 2182 2183 if (how_indx < sizeof(asoc->cookie_how)) 2183 2184 asoc->cookie_how[how_indx] = 15; 2184 2185 if (sctp_is_feature_on(inp, SCTP_PCB_FLAGS_AUTOCLOSE) && 2186 (asoc->sctp_autoclose_ticks > 0)) { 2187 sctp_timer_start(SCTP_TIMER_TYPE_AUTOCLOSE, inp, stcb, NULL); 2188 } 2185 2189 return (stcb); 2186 2190 }
Note:
See TracChangeset
for help on using the changeset viewer.