Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jun 2015 18:59:30 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r284332 - head/sys/netinet
Message-ID:  <201506121859.t5CIxUKC062309@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Fri Jun 12 18:59:29 2015
New Revision: 284332
URL: https://svnweb.freebsd.org/changeset/base/284332

Log:
  Fix the reporting of the PMTUD state for specific paths.
  
  MFC after: 3 days

Modified:
  head/sys/netinet/sctp_usrreq.c

Modified: head/sys/netinet/sctp_usrreq.c
==============================================================================
--- head/sys/netinet/sctp_usrreq.c	Fri Jun 12 17:20:09 2015	(r284331)
+++ head/sys/netinet/sctp_usrreq.c	Fri Jun 12 18:59:29 2015	(r284332)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506121859.t5CIxUKC062309>