Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 2017 09:27:31 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r320263 - head/sys/netinet
Message-ID:  <201706230927.v5N9RVKt032710@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706230927.v5N9RVKt032710>