From owner-freebsd-bugs@FreeBSD.ORG Sat Jul 2 02:43:50 2005 Return-Path: X-Original-To: freebsd-bugs@FreeBSD.org Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8F3E16A41C; Sat, 2 Jul 2005 02:43:50 +0000 (GMT) (envelope-from dan@obluda.cz) Received: from prg.traveller.cz (prg.traveller.cz [193.85.2.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D5F143D1D; Sat, 2 Jul 2005 02:43:49 +0000 (GMT) (envelope-from dan@obluda.cz) Received: from [10.11.0.2] (kulesh.obluda.cz [193.179.22.243]) by prg.traveller.cz (8.13.3/8.13.3/prg) with ESMTP id j622hlvI084659 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sat, 2 Jul 2005 04:43:48 +0200 (CEST) Message-ID: <42C5FF63.4010801@obluda.cz> Date: Sat, 02 Jul 2005 04:43:47 +0200 From: Dan Lukes User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8b) Gecko/20050330 MIME-Version: 1.0 To: Yar Tikhiy References: <200506141202.j5EC28O7026407@freefall.freebsd.org> <20050629130127.GA51085@comp.chem.msu.su> In-Reply-To: <20050629130127.GA51085@comp.chem.msu.su> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bugs@FreeBSD.org Subject: Re: kern/81978: [ PATCH ] if_vlan didn't pass the ALLMULTI to the parent interface X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jul 2005 02:43:50 -0000 > The 'if_detach' of if.c should notify the ip_mroute module about > destroying of interface so ip_mroute code can safely deinitialize > interface and remove references to it from it's internal structures. > > We need something similar to carp_ifdetach(ifp) function of carp module which is called from if_detach. BTW, if_detach invoke the ifnet_departure_event event. So we can register for this event to be informed about interface detach. I submitted separate PR for this. See i386/82882 (unfortunatelly i type incorrect category - it should be kern/82882 of course) Dan -- Dan Lukes SISAL MFF UK AKA: dan@obluda.cz, dan@freebsd.cz,dan@kolej.mff.cuni.cz