removing if_withname()

Bruce Evans bde at zeta.org.au
Wed Feb 4 00:39:21 PST 2004


On Tue, 3 Feb 2004, Brooks Davis wrote:

> 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?

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

Bruce


More information about the freebsd-net mailing list