From owner-freebsd-net@FreeBSD.ORG Tue May 22 01:08:20 2007 Return-Path: X-Original-To: freebsd-net@FreeBSD.org Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CB9EF16A41F for ; Tue, 22 May 2007 01:08:20 +0000 (UTC) (envelope-from bms@icsi.berkeley.edu) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id A62C513C44B for ; Tue, 22 May 2007 01:08:20 +0000 (UTC) (envelope-from bms@icsi.berkeley.edu) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 4AB3221FFD2 for ; Mon, 21 May 2007 20:48:27 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Mon, 21 May 2007 20:48:27 -0400 X-Sasl-enc: JHSPa+wuvSSbAzpsw8WvB8yg0TSvlSQSCbUrCXCgO7nZ 1179794907 Received: from [192.168.123.18] (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTP id EC1FA1F8FF for ; Mon, 21 May 2007 20:48:26 -0400 (EDT) Message-ID: <46523DDA.30300@icsi.berkeley.edu> Date: Tue, 22 May 2007 01:48:26 +0100 From: "Bruce M. Simpson" User-Agent: Thunderbird 1.5.0.10 (X11/20070407) MIME-Version: 1.0 To: freebsd-net@FreeBSD.org References: <200705131837.l4DIbFNw022595@freefall.freebsd.org> In-Reply-To: <200705131837.l4DIbFNw022595@freefall.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: kern/108197: [ipv6] IPv6-related crash if if_delmulti X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2007 01:08:20 -0000 Andre Oppermann wrote: > Synopsis: [ipv6] IPv6-related crash if if_delmulti > > Responsible-Changed-From-To: freebsd-net->bms > Responsible-Changed-By: andre > Responsible-Changed-When: Sun May 13 18:36:25 UTC 2007 > Responsible-Changed-Why: > Send over to BMS. He's active in that area and may have fixed the bug already. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=108197 > Sorry, but I have no time to look at this at the moment. Is someone else free to look at it? The fix probably needs to be borrowed from the IPv4 code which adds an address to an interface. This wouldn't be the final fix; the root issue, to my mind, is that protocol specific state is contained within struct ifnet, when it probably shouldn't be. The address configuration code in both cases is therefore somewhat convoluted; FreeBSD lazy-allocates protocol domain structures for an instance of struct ifnet, rather than making the attachment of a protocol domain to an ifnet an explicit operation. Thanks, BMS