Date: Tue, 22 Jan 2002 10:45:09 +0100 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: Dag-Erling Smorgrav <des@ofug.org> Cc: Ruslan Ermilov <ru@FreeBSD.org>, "M. Warner Losh" <imp@village.org>, rwatson@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/net if.c if.h route.h rtsock.c src/share/man/man4 route.4 src/sbin/route route.c Message-ID: <37654.1011692709@critter.freebsd.dk> In-Reply-To: Your message of "22 Jan 2002 10:38:58 %2B0100." <xzpbsfmrah9.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <xzpbsfmrah9.fsf@flood.ping.uio.no>, Dag-Erling Smorgrav writes: >Ruslan Ermilov <ru@FreeBSD.org> writes: >> On Mon, Jan 21, 2002 at 10:08:46PM +0100, Dag-Erling Smorgrav wrote: >> > Could drivers that don't get asynchronous notification of media status >> > changes, poll the media status once a second? >> How this is better than polling media status of a single interested >> device from userland once a second? > >1) simpler to implement in the kernel > >2) you avoid polling devices that are capable of asynchronous > notification What really bugs me in this area is that ethernet drivers which can sense the cable being unplugged doesn't yank their routes when it happens... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37654.1011692709>