Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Feb 2004 01:52:42 +0900
From:      Hajimu UMEMOTO <ume@FreeBSD.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        net@freebsd.org
Subject:   Re: removing if_withname()
Message-ID:  <ygefzdqbxd1.wl%ume@FreeBSD.org>
In-Reply-To: <20040204193623.E1469@gamplex.bde.org>
References:  <20040203183332.GD27244@Odin.AC.HMC.Edu> <20040204193623.E1469@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

>>>>> On Wed, 4 Feb 2004 19:39:06 +1100 (EST)
>>>>> Bruce Evans <bde@zeta.org.au> said:

> Bruce pointed out that if_withname is inconsistent about IFNAMSIZ.  I
> was looking at it and cleaned it up, but then I realized that it is a
> really inefficient implementation of ifnet_byindex(sdl->sdl_index).  It
> turns out that it's also completely unused so I'd like to remove it
> entirely rather then fixing it since it's both broken and pointless.  Is
> there any reason not to do so?

bde> It seems to be a pat of KAME that has never been used in FreeBSD
bde> (net/if.c rev.1.77).

Yes, once, it was introduced during 1st KAME merge, it is not used in
current code in FreeBSD nor KAME.  So, I believe it is safe to nuke
it.

Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume@mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ygefzdqbxd1.wl%ume>