From owner-cvs-src@FreeBSD.ORG Fri Dec 8 15:53:41 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C169116A412; Fri, 8 Dec 2006 15:53:41 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0018343C9D; Fri, 8 Dec 2006 15:52:42 +0000 (GMT) (envelope-from hrs@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kB8FrfsE087409; Fri, 8 Dec 2006 15:53:41 GMT (envelope-from hrs@repoman.freebsd.org) Received: (from hrs@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kB8FrfRV087405; Fri, 8 Dec 2006 15:53:41 GMT (envelope-from hrs) Message-Id: <200612081553.kB8FrfRV087405@repoman.freebsd.org> From: Hiroki Sato Date: Fri, 8 Dec 2006 15:53:41 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6_2 Cc: Subject: cvs commit: src/etc pccard_ether X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Dec 2006 15:53:41 -0000 hrs 2006-12-08 15:53:41 UTC FreeBSD src repository Modified files: (Branch: RELENG_6_2) 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. Approved by: re (kensmith) Revision Changes Path 1.45.2.4.2.1 +1 -8 src/etc/pccard_ether