Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Sep 2015 06:08:42 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r287608 - head/sys/netinet6
Message-ID:  <201509100608.t8A68gZe019563@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



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