From 2ab6846a23fca2e63ba01dcda8bfafb8caa104b8 Mon Sep 17 00:00:00 2001
From: Michael Tuexen <tuexen@FreeBSD.org>
Date: Tue, 17 Nov 2009 13:36:21 +0000
Subject: [PATCH] Fix a bug where queued ASCONF messags are not sent out.

Approved by: rrs (mentor)
Obtained from:	Irene Ruengeler
MFC after: 1 month
---
 sys/netinet/sctp_output.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c
index 8c29f70b7c4d..60e18ab0259a 100644
--- a/sys/netinet/sctp_output.c
+++ b/sys/netinet/sctp_output.c
@@ -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;