From: Pavel Roskin <proski@gnu.org>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Markus Baier <Markus_Baier@web.de>,
linux-wireless@vger.kernel.org, kalle.valo@iki.fi
Subject: Re: Starting hostapd causes kernel panic
Date: Fri, 22 Jan 2010 16:42:06 -0500 [thread overview]
Message-ID: <1264196526.3040.3.camel@mj> (raw)
In-Reply-To: <1264193623.2593.17.camel@johannes.local>
On Fri, 2010-01-22 at 21:53 +0100, Johannes Berg wrote:
> Try this please.
I'm still getting a panic in ieee80211_tx_h_select_key():
BUG: unable to handle kernel NULL pointer dereference at 00000000000001cf
IP: [<ffffffffa0167e1a>] ieee80211_tx_h_select_key+0x26a/0x300 [mac80211]
PGD 12a7f8067 PUD 126450067 PMD 0
Oops: 0000 [#1] SMP
last sysfs file: /sys/devices/pci0000:00/0000:00:1e.0/0000:02:02.0/irq
CPU 0
Pid: 19396, comm: hostapd Not tainted 2.6.33-rc4-wl #239 G31T-M/G31T-M
RIP: 0010:[<ffffffffa0167e1a>] [<ffffffffa0167e1a>] ieee80211_tx_h_select_key+0x26a/0x300 [mac80211]
(gdb) l *(ieee80211_tx_h_select_key+0x26a)
0x16e4a is in ieee80211_tx_h_select_key (/home/proski/src/linux-2.6/net/mac80211/tx.c:550).
545 case ALG_CCMP:
546 if (!ieee80211_is_data_present(hdr->frame_control) &&
547 !ieee80211_use_mfp(hdr->frame_control, tx->sta,
548 tx->skb))
549 tx->key = NULL;
550 skip_hw = (tx->key->conf.flags &
551 IEEE80211_KEY_FLAG_SW_MGMT) &&
552 ieee80211_is_mgmt(hdr->frame_control);
553 break;
554 case ALG_AES_CMAC:
I assume it's another case where tx->key should be checked for being
NULL. In fact, it's set to NULL on the preceding line!
--
Regards,
Pavel Roskin
next prev parent reply other threads:[~2010-01-22 21:42 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-22 20:14 Starting hostapd causes kernel panic Markus Baier
2010-01-22 20:23 ` pat-lkml
2010-01-22 20:59 ` Markus Baier
2010-01-22 20:28 ` Johannes Berg
2010-01-22 22:45 ` Markus Baier
2010-01-22 20:53 ` Johannes Berg
2010-01-22 21:42 ` Pavel Roskin [this message]
2010-01-22 21:50 ` Markus Baier
2010-01-22 21:53 ` Johannes Berg
2010-01-22 22:06 ` Pavel Roskin
2010-01-23 12:59 ` Johannes Berg
2010-01-23 21:53 ` Philip A. Prindeville
2010-01-24 5:58 ` Kalle Valo
2010-01-24 8:14 ` Philip A. Prindeville
2010-01-24 8:27 ` Kalle Valo
2010-01-24 11:42 ` Johannes Berg
2010-01-24 21:07 ` Philip A. Prindeville
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1264196526.3040.3.camel@mj \
--to=proski@gnu.org \
--cc=Markus_Baier@web.de \
--cc=johannes@sipsolutions.net \
--cc=kalle.valo@iki.fi \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.