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

Reply via email to