summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_constants.h
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2017-06-28 21:08:21 +0000
committertuexen <tuexen@FreeBSD.org>2017-06-28 21:08:21 +0000
commitc036ae9105f347ab3615c94e8bce9fd5c61c06ca (patch)
treeb8e58e7e0364b7e69abc1b58c2e79d3b106dfeec /sys/netinet/sctp_constants.h
parentecb5a7e5f9dcad755b6f7a80001364bf3741b617 (diff)
downloadFreeBSD-src-c036ae9105f347ab3615c94e8bce9fd5c61c06ca.zip
FreeBSD-src-c036ae9105f347ab3615c94e8bce9fd5c61c06ca.tar.gz
MFC r320263:
Use a longer buffer for messages in ERROR chunks. MFC r320264: Check the length of a COOKIE chunk before accessing fields in it. MFC r320300: Handle sctp_get_next_param() in a consistent way. Approved by: re (marius@)
Diffstat (limited to 'sys/netinet/sctp_constants.h')
-rw-r--r--sys/netinet/sctp_constants.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctp_constants.h b/sys/netinet/sctp_constants.h
index e779051..dca34cc 100644
--- a/sys/netinet/sctp_constants.h
+++ b/sys/netinet/sctp_constants.h
@@ -758,7 +758,7 @@ __FBSDID("$FreeBSD$");
#define SCTP_DEFAULT_SPLIT_POINT_MIN 2904
/* Maximum length of diagnostic information in error causes */
-#define SCTP_DIAG_INFO_LEN 64
+#define SCTP_DIAG_INFO_LEN 128
/* ABORT CODES and other tell-tale location
* codes are generated by adding the below
OpenPOWER on IntegriCloud