From owner-cvs-all Tue Oct 17 9:43:11 2000 Delivered-To: cvs-all@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 7A73137B4D7; Tue, 17 Oct 2000 09:43:06 -0700 (PDT) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.9.3/8.9.3) with SMTP id MAA45990; Tue, 17 Oct 2000 12:42:54 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Tue, 17 Oct 2000 12:42:54 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Nick Hibma Cc: Chris Dillon , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc usbd.conf In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 17 Oct 2000, Nick Hibma wrote: > This won't work as ${DEVNAME} is invalid on detach, so you won't be able > to get at the interface. :-( > > The proper solution would be the make dhclient aware of interfaces that > disappear. Once the interface has disappeared it should terminate. > > This would make things work for pccard as well. This has come up previously--right now, BPF will notify the user process of an interface disappearing via ENODEV on any future operation on the file descriptor. However, the version of DHCP we currently bundle does not support this, and instead spins on the ENODEV rather than exiting. David O'brien indicated that this improvement should come from the ISC side and be imported, rather than bumping our dhclient off the vendor branch. I believe Ted Lemon indicated that such a change would go into version 3 of their DHCP client. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message