Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Mar 2012 07:23:29 +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: r232379 - head/sys/netinet6
Message-ID:  <201203020723.q227NToO018835@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Fri Mar  2 07:23:28 2012
New Revision: 232379
URL: http://svn.freebsd.org/changeset/base/232379

Log:
  Allow to configure net.inet6.ip6.{accept_rtadv,no_radr} by the loader tunables
  as well because they have to be configured before interface initialization for
  AF_INET6.

Modified:
  head/sys/netinet6/ip6_input.c

Modified: head/sys/netinet6/ip6_input.c
==============================================================================
--- head/sys/netinet6/ip6_input.c	Fri Mar  2 07:22:04 2012	(r232378)
+++ head/sys/netinet6/ip6_input.c	Fri Mar  2 07:23:28 2012	(r232379)
@@ -163,6 +163,8 @@ ip6_init(void)
 
 	TUNABLE_INT_FETCH("net.inet6.ip6.auto_linklocal",
 	    &V_ip6_auto_linklocal);
+	TUNABLE_INT_FETCH("net.inet6.ip6.accept_rtadv", &V_ip6_accept_rtadv);
+	TUNABLE_INT_FETCH("net.inet6.ip6.no_radr", &V_ip6_no_radr);
 
 	TAILQ_INIT(&V_in6_ifaddrhead);
 



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