kern/33201: net/net_osdep.c:if_name is broken

Brooks Davis brooks at
Wed Aug 25 14:50:29 PDT 2004

The following reply was made to PR kern/33201; it has been noted by GNATS.

From: Brooks Davis <brooks at>
To: Tilman Linneweh <arved at>
Cc: rwatson at, freebsd-bugs at
Subject: Re: kern/33201: net/net_osdep.c:if_name is broken
Date: Wed, 25 Aug 2004 14:21:49 -0700

 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 On Wed, Aug 25, 2004 at 08:59:01PM +0000, Tilman Linneweh wrote:
 > Synopsis: net/net_osdep.c:if_name is broken
 > State-Changed-From-To: open->feedback
 > State-Changed-By: arved
 > State-Changed-When: Wed Aug 25 20:56:22 GMT 2004
 > State-Changed-Why:=20
 > It looks like this was resolved with the if_xname commit.
 > Can this PR be closed?
 Unless we care about fixing it in stable, we can close this.  if_name()
 is correct other then a couple style bugs.
 We might want to just nuke net_osdep.c and replace if_name() with:
 #define	if_name(ifp)	((ifp)->if_xname)
 This was over a year ago in NetBSD.
 -- Brooks
 Any statement of the form "X is the one, true Y" is FALSE.
 PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 Version: GnuPG v1.2.1 (GNU/Linux)

More information about the freebsd-bugs mailing list