svn commit: r286781 - head/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Fri Aug 14 14:26:14 UTC 2015


Author: tuexen
Date: Fri Aug 14 14:26:13 2015
New Revision: 286781
URL: https://svnweb.freebsd.org/changeset/base/286781

Log:
  Allow the path MTU to grow up to the outgoing interface MTU.
  
  MFC after: 3 days

Modified:
  head/sys/netinet/sctp_timer.c

Modified: head/sys/netinet/sctp_timer.c
==============================================================================
--- head/sys/netinet/sctp_timer.c	Fri Aug 14 14:20:10 2015	(r286780)
+++ head/sys/netinet/sctp_timer.c	Fri Aug 14 14:26:13 2015	(r286781)
@@ -1492,6 +1492,8 @@ sctp_pathmtu_timer(struct sctp_inpcb *in
 #endif
 			if (mtu > next_mtu) {
 				net->mtu = next_mtu;
+			} else {
+				net->mtu = mtu;
 			}
 		}
 	}


More information about the svn-src-head mailing list