svn commit: r332221 - stable/11/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Sat Apr 7 20:06:51 UTC 2018


Author: tuexen
Date: Sat Apr  7 20:06:50 2018
New Revision: 332221
URL: https://svnweb.freebsd.org/changeset/base/332221

Log:
  MFC r325284:
  
  Fix the reporting of the MTU for SCTP sockets when using IPv6.

Modified:
  stable/11/sys/netinet/sctp_usrreq.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/netinet/sctp_usrreq.c
==============================================================================
--- stable/11/sys/netinet/sctp_usrreq.c	Sat Apr  7 20:05:25 2018	(r332220)
+++ stable/11/sys/netinet/sctp_usrreq.c	Sat Apr  7 20:06:50 2018	(r332221)
@@ -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