From owner-cvs-src@FreeBSD.ORG Fri Jun 10 21:29:01 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7D7616A41C; Fri, 10 Jun 2005 21:29:01 +0000 (GMT) (envelope-from julian@elischer.org) Received: from bigwoop.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 170B443D49; Fri, 10 Jun 2005 21:28:59 +0000 (GMT) (envelope-from julian@elischer.org) Received: from [208.206.78.97] (julian.vicor-nb.com [208.206.78.97]) by bigwoop.vicor-nb.com (Postfix) with ESMTP id A3B577A423; Fri, 10 Jun 2005 14:28:57 -0700 (PDT) Message-ID: <42AA0619.9000904@elischer.org> Date: Fri, 10 Jun 2005 14:28:57 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050423 X-Accept-Language: en, hu MIME-Version: 1.0 To: Brooks Davis References: <200506101649.j5AGnOPu077043@repoman.freebsd.org> <20050610170818.A32249@grasshopper.cs.duke.edu> <20050610211621.GA11303@odin.ac.hmc.edu> In-Reply-To: <20050610211621.GA11303@odin.ac.hmc.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Andrew Gallatin , 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 ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2005 21:29:02 -0000 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()?