if_multiaddrs LIST -> TAILQ

Joerg Sonnenberger joerg at britannica.bec.de
Mon Dec 20 08:34:06 PST 2004


On Mon, Dec 20, 2004 at 05:18:31PM +0100, Michal Belczyk wrote:
> There are three drivers - tl(4), sk(4), sf(4) which traverse
> if_multiaddrs backwards - it's better to use TAILQ instead of LIST here.
> The same change was made to FreeBSD around Feb 2001.

I'd prefer to just fix this drivers. Looking a bit at the code doesn't
really warrant this. Actually, I'm sure if the comments in the code and
the code itself agree on what addresses are put into the filter.

Joerg





More information about the Submit mailing list