Date: Fri, 10 Jun 2005 14:28:57 -0700 From: Julian Elischer <julian@elischer.org> To: Brooks Davis <brooks@one-eyed-alien.net> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Andrew Gallatin <gallatin@cs.duke.edu>, cvs-all@FreeBSD.org Subject: Re: 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 ... Message-ID: <42AA0619.9000904@elischer.org> In-Reply-To: <20050610211621.GA11303@odin.ac.hmc.edu> References: <200506101649.j5AGnOPu077043@repoman.freebsd.org> <20050610170818.A32249@grasshopper.cs.duke.edu> <20050610211621.GA11303@odin.ac.hmc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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()?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42AA0619.9000904>