aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/sctp_constants.h
diff options
context:
space:
mode:
authorRandall Stewart <rrs@FreeBSD.org>2008-11-12 14:16:39 +0000
committerRandall Stewart <rrs@FreeBSD.org>2008-11-12 14:16:39 +0000
commita1e132720b1d0c80b1a70dd7ec66a96465b5f621 (patch)
treefcf4dce12755c4d9c63697ccc8cb745bd765d82e /sys/netinet/sctp_constants.h
parent7d4723c325ea00a5a438682c74433985a6c20e1f (diff)
downloadsrc-a1e132720b1d0c80b1a70dd7ec66a96465b5f621.tar.gz
src-a1e132720b1d0c80b1a70dd7ec66a96465b5f621.zip
-Improvement: Add '\n' on debug output in sctp_lower_sosend().
-Improvement: panic() on INVARIANTS kernels if memory allocation fails for a tagblock in sctp_add_vtag_to_timewait(). -Bugfix: Protect code in sctp_is_in_timewait() by SCTP_INP_INFO_WLOCK/SCTP_INP_INFO_WUNLOCK. -Cleanup: Get rid of unused variable now in sctp_init_asoc(). -Bugfix: Reuse the correct vtag in sctp_add_vtag_to_timewait(). -Cleanup: Get rid of unused constant SCTP_TIME_WAIT_SHORT in sctp_constants.h. -Improvement: Use all hash buckets of the vtag hash table. -Cleanup: Get rid of then unused constant SCTP_STACK_VTAG_HASH_SIZE_A. -Bugfix: Handle SHUTDOWN;SACK packet correctly. -Bugfix: Last TSN in a gap ack block was not being "ack'd" in the internal scoreboard. Obtained from: (with help from Michael Tuexen)
Notes
Notes: svn path=/head/; revision=184883
Diffstat (limited to 'sys/netinet/sctp_constants.h')
-rw-r--r--sys/netinet/sctp_constants.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/netinet/sctp_constants.h b/sys/netinet/sctp_constants.h
index 422272586451..2305a1e55a98 100644
--- a/sys/netinet/sctp_constants.h
+++ b/sys/netinet/sctp_constants.h
@@ -1001,8 +1001,7 @@ __FBSDID("$FreeBSD$");
* entries must be searched to see if the tag is in timed wait. If so we
* reject it.
*/
-#define SCTP_STACK_VTAG_HASH_SIZE 31
-#define SCTP_STACK_VTAG_HASH_SIZE_A 32
+#define SCTP_STACK_VTAG_HASH_SIZE 32
/*
@@ -1016,12 +1015,6 @@ __FBSDID("$FreeBSD$");
*/
#define SCTP_TIME_WAIT 60
-/* This time wait is the same as the default cookie life
- * since we now enter a tag in every time we send a cookie.
- * We want this shorter to avoid vtag depletion.
- */
-#define SCTP_TIME_WAIT_SHORT 60
-
/* The system retains a cache of free chunks such to
* cut down on calls the memory allocation system. There
* is a per association limit of free items and a overall