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

Reply via email to