cvs commit: src/share/man/man9 ifnet.9 src/sys/compat/ndis kern_ndis.c subr_ndis.c src/sys/contrib/altq/altq altq_rio.c src/sys/contrib/dev/oltr if_oltr.c if_oltr_pci.c if_oltrvar.h src/sys/contrib/pf/net if_pflog.c if_pflog.h if_pfsync.c ...

Julian Elischer julian at elischer.org
Fri Jun 10 21:29:02 GMT 2005



Brooks Davis wrote:

>On Fri, Jun 10, 2005 at 05:08:18PM -0400, Andrew Gallatin wrote:
>  
>
>>
>>What is the appropriate way to detach an interface now?  I used to
>>call just ether_ifdetach(ifp); Now I call both if_detach and if_free.
>>Eg:
>>
>>    ether_ifdetach(ifp);
>>    if_free(ifp);
>>    
>>
>
>This is correct.
>  
>

why does if_ether_detatch not call if_free()?




More information about the cvs-src mailing list