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:
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to