Date: Fri, 8 Dec 2006 15:52:25 +0000 (UTC) From: Hiroki Sato <hrs@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/etc pccard_ether Message-ID: <200612081552.kB8FqPY4087101@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
hrs 2006-12-08 15:52:25 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
etc pccard_ether
Log:
MFC: Disable IPv6 configuration for interfaces in pccard_ether_start().
After a change of devd.conf, devd(8) handles NIC attach/detach event
by using /etc/pccard_ether with the interface name as the argument.
This model does not work properly with IPv6 configuration because the
implementation of IPv6 stateless auto-configuration in the FreeBSD
rc.d scripts depends on whether there are any explicit configurations
for interfaces or not. It works this way: if no manual configuration,
it will perform auto-configuration, but otherwise no
auto-configuration will be performed. So, this behavior can only be
determined by all of the interfaces on a system, not a single one.
For this reason, the network6_interface_setup() function called from
the pccard_ether_start() does not work with a single interface name.
And what is worse, this combination of devd.conf and
pccard_ether_start() caused a bad side-effect that when
ipv6_enable=YES, all of interfaces marked as DOWN would be UP
unconditionally (and router solicitation was sent) just after devd(8)
was invoked. This should be fixed in a more sophisticated way.
Revision Changes Path
1.45.2.5 +1 -8 src/etc/pccard_ether
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612081552.kB8FqPY4087101>
