From owner-freebsd-current@FreeBSD.ORG Tue Mar 17 19:02:43 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 635F41065670; Tue, 17 Mar 2009 19:02:43 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 139828FC08; Tue, 17 Mar 2009 19:02:42 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n2HJ2gaC081216 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 17 Mar 2009 12:02:42 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <49BFF3D2.4030407@freebsd.org> Date: Tue, 17 Mar 2009 12:02:42 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (X11/20081209) MIME-Version: 1.0 To: Bruce Simpson References: <1236937253.2282.0.camel@localhost> <49BAEA9F.8020302@incunabulum.net> <49BB0D3E.2020306@incunabulum.net> <49BC1C66.7030400@freebsd.org> <1237233210.84180.20.camel@localhost> <49BEB312.7060105@freebsd.org> <49BF5B8A.4040108@incunabulum.net> <1237295117.1844.6.camel@localhost> <49BFA8A2.5080807@incunabulum.net> In-Reply-To: <49BFA8A2.5080807@incunabulum.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-x.dcc-servers-Metrics: ebb.errno.com; whitelist Cc: current@freebsd.org, Coleman Kane , freebsd-net Subject: Re: IGMP+WiFi panic on recent kernel - in igmp_fasttimo() X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 19:02:44 -0000 Bruce Simpson wrote: > Coleman Kane wrote: >> If you are looking for a reliable test case, this might be it for you, >> but I think you need a wlan interface to test it with: >> * Install net/avahi from ports >> * Set avahi_daemon_enable="YES" in rc.conf >> * Configure VAP params for wlan0 card in rc.conf >> * Log in and run "dhclient wlan0" to trigger the panic >> >> > > Actually I was able to panic the kernel right away with the 802.11 > code, just > by joining a multicast group with mtest(8) on the wlan interface. > > i.e. > > # mtest > j 224.0.0.2 192.168.x.x > -> boom > > I believe I've found the symptom, but the root cause I don't fully > understand. > Sam indicated that the VAP code is using ifma's in some nested way > between > the ifnets which comprise the VAP's member interfaces. > > A workaround is pending.... > net80211 uses the public api's to push mcast addresses from the vap's to the parent ifnet. It does not directly frob any internal data structures except to workaround the ioctl-based callback out of the mcast code when adding an address. Look at ieee80211_ioctl_updatemulti for details. Sam