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

Brooks Davis brooks at one-eyed-alien.net
Wed Aug 25 14:20:08 PDT 2004


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: 
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-bugs/attachments/20040825/a078ce93/attachment.bin


More information about the freebsd-bugs mailing list