summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctputil.h
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2006-11-11 22:44:12 +0000
committerrrs <rrs@FreeBSD.org>2006-11-11 22:44:12 +0000
commitfb5651e047ba819adc96c9f9e76b4559123edf34 (patch)
tree7a67d3389c46e84245fca92a06dcb77f66dbafcb /sys/netinet/sctputil.h
parent26d0f2fab6f6582478cd2a21695844600a1bd490 (diff)
downloadFreeBSD-src-fb5651e047ba819adc96c9f9e76b4559123edf34.zip
FreeBSD-src-fb5651e047ba819adc96c9f9e76b4559123edf34.tar.gz
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
Diffstat (limited to 'sys/netinet/sctputil.h')
-rw-r--r--sys/netinet/sctputil.h2
1 files changed, 1 insertions, 1 deletions
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 *);
OpenPOWER on IntegriCloud