Subject: CVS commit: src/sys/net
To: None <source-changes@NetBSD.org>
From: Allen Briggs <briggs@netbsd.org>
List: source-changes
Date: 11/03/2003 14:43:32
Module Name:	src
Committed By:	briggs
Date:		Mon Nov  3 14:43:32 UTC 2003

Modified Files:
	src/sys/net: if_media.c

Log Message:
ifmedia_set() should not panic, nor can it really fail.  So if there is
some problem setting the media to the requested value (usually IFM_AUTO),
we now force the media selection to IFM_NONE.
This addresses PR/14029 ``panic("ifmedia_set") a little too brutal''
and may address to some degree PR/19504 and PR/23341.


To generate a diff of this commit:
cvs rdiff -r1.19 -r1.20 src/sys/net/if_media.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.