svn commit: r284440 - stable/10/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Tue Jun 16 08:26:34 UTC 2015


Author: tuexen
Date: Tue Jun 16 08:26:33 2015
New Revision: 284440
URL: https://svnweb.freebsd.org/changeset/base/284440

Log:
  MFC r284332:
  
  Fix the reporting of the PMTUD state for specific paths.

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

Modified: stable/10/sys/netinet/sctp_usrreq.c
==============================================================================
--- stable/10/sys/netinet/sctp_usrreq.c	Tue Jun 16 08:24:08 2015	(r284439)
+++ stable/10/sys/netinet/sctp_usrreq.c	Tue Jun 16 08:26:33 2015	(r284440)
@@ -2464,9 +2464,9 @@ flags_out:
 					}
 					/* get flags for PMTU */
 					if (net->dest_state & SCTP_ADDR_NO_PMTUD) {
-						paddrp->spp_flags |= SPP_PMTUD_ENABLE;
-					} else {
 						paddrp->spp_flags |= SPP_PMTUD_DISABLE;
+					} else {
+						paddrp->spp_flags |= SPP_PMTUD_ENABLE;
 					}
 					if (net->dscp & 0x01) {
 						paddrp->spp_dscp = net->dscp & 0xfc;


More information about the svn-src-stable mailing list