Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Sep 2005 17:14:17 -0600 (MDT)
From:      Warner Losh <imp@BSDIMP.COM>
To:        brooks@one-eyed-alien.net
Cc:        current@freebsd.org
Subject:   Re: [brooks@FreeBSD.ORG: [src] cvs commit: src/etc pccard_ether]
Message-ID:  <20050928.171417.74728660.imp@bsdimp.com>
In-Reply-To: <20050928200243.GA16219@odin.ac.hmc.edu>
References:  <20050928200243.GA16219@odin.ac.hmc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> I've just committed the following change to /etc/pccard_ether.  I think
> it's the right solution, but I'm concerned it may cause problems with
> drivers that incorrectly frob the IFF_UP flag themselves.  If so it may
> be nessicary to revert this change temporarily or at least not MFC it.

This change converts the "I already have an address" check to be a
"I'm up" which are two different things.  dhclient leaves the
interface up when it exits, even if it can't get an address.  I think
that might cause a lot of problems for people.  I originally had this
test in pccard_ether, but changed it to checking for netmask because
roving from network to network didn't work without it on my laptop
with multiple network interfaces.

I think it will have issues on more than just these naughty drivers.

Warner



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