Trigger sending of queued ASCONF chunks if outstanding ones are ACKED.

MFC after:	1 week
This commit is contained in:
Michael Tuexen 2016-03-28 11:32:20 +00:00
parent ecabd74728
commit 5114dccbd4

View File

@ -6033,7 +6033,9 @@ sctp_common_input_processing(struct mbuf **mm, int iphlen, int offset, int lengt
if (!TAILQ_EMPTY(&stcb->asoc.control_send_queue)) {
cnt_ctrl_ready = stcb->asoc.ctrl_queue_cnt - stcb->asoc.ecn_echo_cnt_onq;
}
if (cnt_ctrl_ready || stcb->asoc.trigger_reset ||
if (!TAILQ_EMPTY(&stcb->asoc.asconf_send_queue) ||
cnt_ctrl_ready ||
stcb->asoc.trigger_reset ||
((un_sent) &&
(stcb->asoc.peers_rwnd > 0 ||
(stcb->asoc.peers_rwnd <= 0 && stcb->asoc.total_flight == 0)))) {