summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_constants.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/sctp_constants.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/sctp_constants.h')
-rw-r--r--sys/netinet/sctp_constants.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/sctp_constants.h b/sys/netinet/sctp_constants.h
index 3e927bb..d11d380 100644
--- a/sys/netinet/sctp_constants.h
+++ b/sys/netinet/sctp_constants.h
@@ -307,6 +307,7 @@ __FBSDID("$FreeBSD$");
#define SCTP_OUTPUT_FROM_EARLY_FR_TMR 11
#define SCTP_OUTPUT_FROM_STRRST_REQ 12
#define SCTP_OUTPUT_FROM_USR_RCVD 13
+#define SCTP_OUTPUT_FROM_COOKIE_ACK 14
/* SCTP chunk types are moved sctp.h for application (NAT, FW) use */
/* align to 32-bit sizes */
OpenPOWER on IntegriCloud