svn commit: r287731 - stable/10/sys/netinet6

Hiroki Sato hrs at FreeBSD.org
Sun Sep 13 01:39:39 UTC 2015


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)


More information about the svn-src-stable mailing list