tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Removing ifnet_addrs



Looking at the patch, the comment reads:

    We can assume that ifp->if_dl is the same as ifnet_addrs[ifp->if_index]
    so we can replace ifnet_addrs[ifp->if_index] with ifp->if_dl and
    remove ifnet_addrs entirely.

The word "assume" is not very precise and suggests that you're
not 100% sure. Either it is the same and the patch is right or it
isn't the same and the patch is wrong. No assumptions.

Drren



Home | Main Index | Thread Index | Old Index