svn commit: r297349 - head/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Mon Mar 28 11:32:21 UTC 2016
Author: tuexen
Date: Mon Mar 28 11:32:20 2016
New Revision: 297349
URL: https://svnweb.freebsd.org/changeset/base/297349
Log:
Trigger sending of queued ASCONF chunks if outstanding ones are ACKED.
MFC after: 1 week
Modified:
head/sys/netinet/sctp_input.c
Modified: head/sys/netinet/sctp_input.c
==============================================================================
--- head/sys/netinet/sctp_input.c Mon Mar 28 09:52:44 2016 (r297348)
+++ head/sys/netinet/sctp_input.c Mon Mar 28 11:32:20 2016 (r297349)
@@ -6033,7 +6033,9 @@ trigger_send:
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)))) {
More information about the svn-src-all
mailing list