How exactly net.ipv6.conf.{all,default}.autoconf sysctls work?

From: Adam Osuchowski
Date: Sat Sep 20 2008 - 17:22:42 EST


Hello,

how exactly net.ipv6.conf.{all,default}.autoconf sysctls work?

I observed that interface specific settings is duplicated from defaults
at the moment of interface creation (NIC driver module loading, vlan
adding or bridge creating). Subsequent changes of net.ipv6.conf.all.autoconf
don't cause anything with particular interfaces. They could be changed
only via net.ipv6.conf.<iface>.autoconf, but there is race condition for
this reason, to say nothing of generality. How it should look if
init script loads modules first (ipv6 and NIC driver) and only then set
sysctls from /etc/sysctl.conf?

Documentation about net.ipv6.conf.{all,default}.autoconf
(and net.ipv6.conf.{all,default}.accept_ra too) is slightly inconsistent
with reality.

Regards.
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html