Fix a bug where queued ASCONF messags are not sent out.

Approved by: rrs (mentor)
Obtained from:	Irene Ruengeler
MFC after: 1 month
This commit is contained in:
Michael Tuexen 2009-11-17 13:36:21 +00:00
parent b6c5780299
commit 2ab6846a23

View File

@ -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;