svn commit: r325284 - head/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Wed Nov 1 16:32:12 UTC 2017


Author: tuexen
Date: Wed Nov  1 16:32:11 2017
New Revision: 325284
URL: https://svnweb.freebsd.org/changeset/base/325284

Log:
  Fix the reporting of the MTU for SCTP sockets when using IPv6.
  
  MFC after:	1 week

Modified:
  head/sys/netinet/sctp_usrreq.c

Modified: head/sys/netinet/sctp_usrreq.c
==============================================================================
--- head/sys/netinet/sctp_usrreq.c	Wed Nov  1 14:27:26 2017	(r325283)
+++ head/sys/netinet/sctp_usrreq.c	Wed Nov  1 16:32:11 2017	(r325284)
@@ -2412,7 +2412,7 @@ flags_out:
 #endif
 #ifdef INET6
 					case AF_INET6:
-						paddrp->spp_pathmtu -= SCTP_MIN_V4_OVERHEAD;
+						paddrp->spp_pathmtu -= SCTP_MIN_OVERHEAD;
 						break;
 #endif
 					default:


More information about the svn-src-all mailing list