Re: IGMP+WiFi panic on recent kernel - in igmp_fasttimo()

From: Sam Leffler <sam_at_freebsd.org>
Date: Tue, 17 Mar 2009 12:02:42 -0700
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
Received on Tue Mar 17 2009 - 18:02:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:44 UTC