Re: Wireless-testing's b43 panics in b43_generate_txhdr on packet transmit

From: Michael Buesch
Date: Sat May 31 2008 - 13:56:00 EST


On Saturday 31 May 2008 18:50:36 Pavel Roskin wrote:
> On Sat, 2008-05-31 at 18:41 +0200, Michael Buesch wrote:
> > On Saturday 31 May 2008 18:34:29 Stefanik Gábor wrote:
> > > "BUG: unable to handle kernel NULL pointer dereference at 00000004
> > > IP: [<f8dd3a99>] :b43:b43_generate_txhdr+0x6a9/0x790
> >
> > So can you put a few printks into the function to see where it dereferences
> > a NULL pointer? (or use gdb to lookup the offset).
>
> u8 key_idx = info->control.hw_key->hw_key_idx;
>
> info->control.hw_key is NULL.

Is a NULL pointer supposed to tell "do not encrypt", or is this a mac80211 bug?

--
Greetings Michael.
--
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/