Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Sep 2015 01:39:38 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r287731 - stable/10/sys/netinet6
Message-ID:  <201509130139.t8D1dc83058774@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Sun Sep 13 01:39:37 2015
New Revision: 287731
URL: https://svnweb.freebsd.org/changeset/base/287731

Log:
  MFC 287608:
  
  Remove IN6_IFF_NOPFX.  This flag was no longer used.

Modified:
  stable/10/sys/netinet6/in6_ifattach.c
  stable/10/sys/netinet6/in6_var.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/netinet6/in6_ifattach.c
==============================================================================
--- stable/10/sys/netinet6/in6_ifattach.c	Sun Sep 13 01:35:40 2015	(r287730)
+++ stable/10/sys/netinet6/in6_ifattach.c	Sun Sep 13 01:39:37 2015	(r287731)
@@ -598,9 +598,6 @@ in6_ifattach_loopback(struct ifnet *ifp)
 	/* we don't need to perform DAD on loopback interfaces. */
 	ifra.ifra_flags |= IN6_IFF_NODAD;
 
-	/* skip registration to the prefix list. XXX should be temporary. */
-	ifra.ifra_flags |= IN6_IFF_NOPFX;
-
 	/*
 	 * We are sure that this is a newly assigned address, so we can set
 	 * NULL to the 3rd arg.

Modified: stable/10/sys/netinet6/in6_var.h
==============================================================================
--- stable/10/sys/netinet6/in6_var.h	Sun Sep 13 01:35:40 2015	(r287730)
+++ stable/10/sys/netinet6/in6_var.h	Sun Sep 13 01:39:37 2015	(r287731)
@@ -504,9 +504,6 @@ struct	in6_rrenumreq {
 #define IN6_IFF_AUTOCONF	0x40	/* autoconfigurable address. */
 #define IN6_IFF_TEMPORARY	0x80	/* temporary (anonymous) address. */
 #define	IN6_IFF_PREFER_SOURCE	0x0100	/* preferred address for SAS */
-#define IN6_IFF_NOPFX		0x8000	/* skip kernel prefix management.
-					 * XXX: this should be temporary.
-					 */
 
 /* do not input/output */
 #define IN6_IFF_NOTREADY (IN6_IFF_TENTATIVE|IN6_IFF_DUPLICATED)



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