RE: 3.5.0 iwlagn AP crash...

From: Berg, Johannes
Date: Mon Jul 23 2012 - 02:57:38 EST


> > > BUG: unable to handle kernel NULL pointer dereference at (null)
> > > IP: [<ffffffffa02e869d>] ieee80211_ave_rssi+0xd/0x50 [mac80211]
> >
> > From my debug kernel, sdata is clearly NULL:
> >
> > (gdb) list *0xffffffff815b74f8
> > 0xffffffff815b74f8 is in ieee80211_ave_rssi (net/mac80211/util.c:1801).
> > 1796 int ieee80211_ave_rssi(struct ieee80211_vif *vif)
> > 1797 {
> > 1798 struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif);
>
> I'll look into it, thanks.

We had a fix, but it seems I missed putting it into 3.5:

commit e19ebcab01cc130fa832764d453b263460ec3b91
Author: Ilan Peer <ilan.peer@xxxxxxxxx>
Date: Thu May 10 15:53:14 2012 +0300

iwlwifi: Check BSS ctx active before call mac80211

I'll ask Greg to include it in 3.5 stable.

johannes
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer, Christian Lamprechter
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/