svn commit: r287608 - head/sys/netinet6

Hiroki Sato hrs at FreeBSD.org
Thu Sep 10 06:08:43 UTC 2015


Author: hrs
Date: Thu Sep 10 06:08:42 2015
New Revision: 287608
URL: https://svnweb.freebsd.org/changeset/base/287608

Log:
  Remove IN6_IFF_NOPFX.  This flag was no longer used.
  
  MFC after:	3 days

Modified:
  head/sys/netinet6/in6_ifattach.c
  head/sys/netinet6/in6_var.h

Modified: head/sys/netinet6/in6_ifattach.c
==============================================================================
--- head/sys/netinet6/in6_ifattach.c	Thu Sep 10 05:59:39 2015	(r287607)
+++ head/sys/netinet6/in6_ifattach.c	Thu Sep 10 06:08:42 2015	(r287608)
@@ -566,9 +566,6 @@ in6_ifattach_loopback(struct ifnet *ifp)
 	ifra.ifra_lifetime.ia6t_vltime = ND6_INFINITE_LIFETIME;
 	ifra.ifra_lifetime.ia6t_pltime = ND6_INFINITE_LIFETIME;
 
-	/* 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: head/sys/netinet6/in6_var.h
==============================================================================
--- head/sys/netinet6/in6_var.h	Thu Sep 10 05:59:39 2015	(r287607)
+++ head/sys/netinet6/in6_var.h	Thu Sep 10 06:08:42 2015	(r287608)
@@ -499,9 +499,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-all mailing list