Return-path: Received: from xc.sipsolutions.net ([83.246.72.84]:44428 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758651AbYLQMgE (ORCPT ); Wed, 17 Dec 2008 07:36:04 -0500 Subject: Re: [PATCH] ath9k: Fix a NULL pointer dereference in ath_rate_get From: Johannes Berg To: Christian Lamparter Cc: Jouni Malinen , Jouni Malinen , "John W. Linville" , linux-wireless@vger.kernel.org In-Reply-To: <200812171325.26310.chunkeey@web.de> References: <20081217113031.GA18060@jm.kir.nu> <1229513456.4566.2.camel@localhost> <20081217120250.GA19453@jm.kir.nu> <200812171325.26310.chunkeey@web.de> Content-Type: text/plain Date: Wed, 17 Dec 2008 13:21:04 +0100 Message-Id: <1229516464.5175.2.camel@localhost> (sfid-20081217_133629_579349_E234F9DF) Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Wed, 2008-12-17 at 13:25 +0100, Christian Lamparter wrote: > hostapd: wlan1: STA XX:XX:XX:XX:0d IEEE 802.11: authenticated > kernel: [ 3130.431067] ------------[ cut here ]------------ > kernel: [ 3130.431076] WARNING: at net/mac80211/rc80211_minstrel.c:69 minstrel_rate_init+0xb8/0x320 [mac80211]() > kernel: [ 3130.431081] Modules linked in: p54usb p54pci p54common [...] > kernel: [ 3130.431300] Pid: 16961, comm: hostapd2 Tainted: P 2.6.28-rc7-wl #3 > [ 3130.431305] Call Trace: > [ 3130.431318] [] warn_on_slowpath+0x51/0x75 > [ 3130.431329] [] rb_insert_color+0xba/0xe2 > [ 3130.431338] [] __remove_hrtimer+0x7c/0x88 > [ 3130.431375] [] minstrel_rate_init+0xb8/0x320 [mac80211] > [ 3130.431417] [] ieee80211_add_station+0x145/0x17d [mac80211] > hostapd: wlan1: STA XX:XX:XX:XX:0d IEEE 802.11: associated (aid 1, accounting session 494187DD-00000000) > kernel: [ 3130.431440] [] nl80211_new_station+0x1b3/0x20b [cfg80211] > kernel: [ 3130.431450] [] mutex_lock+0xd/0x1e > kernel: [ 3130.431459] [] nla_parse+0x4b/0xb2 > > yup, the Warning just happend right between auth and assoc This, umm, seems totally unrelated since Jouni was fixing something in ath9k's RC algorithm. johannes