svn commit: r320263 - head/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Fri Jun 23 09:27:32 UTC 2017


Author: tuexen
Date: Fri Jun 23 09:27:31 2017
New Revision: 320263
URL: https://svnweb.freebsd.org/changeset/base/320263

Log:
  Use a longer buffer for messages in ERROR chunks.
  
  This allows them to be sent in a non truncated way and addresses a warning
  given by newver versions of gcc.
  Thanks to Anselm Jonas Scholl for reporting it and providing a patch.

Modified:
  head/sys/netinet/sctp_constants.h

Modified: head/sys/netinet/sctp_constants.h
==============================================================================
--- head/sys/netinet/sctp_constants.h	Fri Jun 23 08:42:53 2017	(r320262)
+++ head/sys/netinet/sctp_constants.h	Fri Jun 23 09:27:31 2017	(r320263)
@@ -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


More information about the svn-src-all mailing list