svn commit: r199374 - head/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Tue Nov 17 13:36:21 UTC 2009


Author: tuexen
Date: Tue Nov 17 13:36:21 2009
New Revision: 199374
URL: http://svn.freebsd.org/changeset/base/199374

Log:
  Fix a bug where queued ASCONF messags are not sent out.
  
  Approved by: rrs (mentor)
  Obtained from:	Irene Ruengeler
  MFC after: 1 month

Modified:
  head/sys/netinet/sctp_output.c

Modified: head/sys/netinet/sctp_output.c
==============================================================================
--- head/sys/netinet/sctp_output.c	Tue Nov 17 13:13:58 2009	(r199373)
+++ head/sys/netinet/sctp_output.c	Tue Nov 17 13:36:21 2009	(r199374)
@@ -9442,6 +9442,7 @@ sctp_chunk_output(struct sctp_inpcb *inp
 
 	if ((un_sent <= 0) &&
 	    (TAILQ_EMPTY(&asoc->control_send_queue)) &&
+	    (TAILQ_EMPTY(&asoc->asconf_send_queue)) &&
 	    (asoc->sent_queue_retran_cnt == 0)) {
 		/* Nothing to do unless there is something to be sent left */
 		return;


More information about the svn-src-head mailing list