From fb5651e047ba819adc96c9f9e76b4559123edf34 Mon Sep 17 00:00:00 2001 From: rrs Date: Sat, 11 Nov 2006 22:44:12 +0000 Subject: In a true restart case, the send_lock was not being aquired. This meant that when we cleanup the outbound we may have one in transit to be added with the old sequence number. This is bad since then we loose a message :( Also the report_outbound needed to have the right lock when its called which it did not.. I added the lock with of course a flag since we want to have the lock before we call it in the restart case. This also fixed the FIX ME case where, in the cookie collision case, we mark for retransmit any that were bundled with the cookie that was dropped. This also means changes to the output routine so we can assure getting the COOKIE-ACK sent BEFORE we retransmit the Data. Approved by: gnn --- sys/netinet/sctputil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/netinet/sctputil.h') diff --git a/sys/netinet/sctputil.h b/sys/netinet/sctputil.h index ef0e9a4..06f6218 100644 --- a/sys/netinet/sctputil.h +++ b/sys/netinet/sctputil.h @@ -131,7 +131,7 @@ sctp_pull_off_control_to_new_inp(struct sctp_inpcb *old_inp, void sctp_stop_timers_for_shutdown(struct sctp_tcb *); -void sctp_report_all_outbound(struct sctp_tcb *); +void sctp_report_all_outbound(struct sctp_tcb *, int); int sctp_expand_mapping_array(struct sctp_association *); -- cgit v1.1