From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755575AbYEaU3Y (ORCPT ); Sat, 31 May 2008 16:29:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753441AbYEaU3P (ORCPT ); Sat, 31 May 2008 16:29:15 -0400 Received: from wf-out-1314.google.com ([209.85.200.174]:60549 "EHLO wf-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752324AbYEaU3O convert rfc822-to-8bit (ORCPT ); Sat, 31 May 2008 16:29:14 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sNY8HWjTJMEr9Yw5ZY7VCFj/ZC2hXFpJq2utjErFOoovDzouytwNXyMBPHcnvpE00agFLUNLKvD29hjUnOz8/c3trH6fgoYrefJOMreCHlINOPxuK2W7HZOvruIiGFTdSqdldoqkUXRL8hFIPXqXOm3zel2qNeRScHMrZ0S686A= Message-ID: <69e28c910805311329v8f29c42mbb97ab553cc6e96c@mail.gmail.com> Date: Sat, 31 May 2008 22:29:13 +0200 From: "=?ISO-8859-1?Q?Stefanik_G=E1bor?=" To: "Johannes Berg" Subject: Re: Wireless-testing's b43 panics in b43_generate_txhdr on packet transmit Cc: "Michael Buesch" , "Pavel Roskin" , linux-wireless , "bcm43xx-dev@lists.berlios.de" , linux-kernel@vger.kernel.org In-Reply-To: <1212265322.7672.2.camel@johannes.berg> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Content-Disposition: inline References: <69e28c910805310723j2b721030x2609cc9e866abafa@mail.gmail.com> <200805311841.46740.mb@bu3sch.de> <1212252636.2766.10.camel@rd> <200805311954.46639.mb@bu3sch.de> <1212265322.7672.2.camel@johannes.berg> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 31, 2008 at 10:22 PM, Johannes Berg wrote: > On Sat, 2008-05-31 at 19:54 +0200, Michael Buesch wrote: >> 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: [] :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? > > It's probably a bug. > > johannes > Should we assume that it's the first key if it happens?