pull request: wireless-2.6 2009-08-14
Subsystems (4)
Dave,
A couple more squeakers for 2.6.31...one avoids a panic related to 802.11n, the other avoids some memory corruption with rt2x00 devices.
Please let me know if there are problems!
John
---
Individual patches are available here:
http://www.kernel.org/pub/linux/kernel/people/linville/wireless-2.6/
---
The following changes since commit 839d1624b9dcf31fdc02e47359043bb7bd71d6ca:
Francois Romieu (1):
8139cp: balance dma_map_single vs dma_unmap_single pair
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git master
Luis R. Rodriguez (1):
mac80211: fix panic when splicing unprepared TIDs
Pavel Roskin (1):
rt2x00: fix memory corruption in rf cache, add a sanity check
drivers/net/wireless/rt2x00/rt2x00.h | 6 ++++-- net/mac80211/agg-tx.c | 8 ++++++++ 2 files changed, 12 insertions(+), 2 deletions(-)
drivers/net/wireless/rt2x00/rt2x00.h +4 -2
@@ -849,13 +849,15 @@ struct rt2x00_dev {static inline void rt2x00_rf_read (struct rt2x00_dev *rt2x00dev,const unsigned int word,u32 *data) { - *data = rt2x00dev->rf[word]; +BUG_ON (word <1 || word > rt2x00dev->ops->rf_size /sizeof (u32)); + *data = rt2x00dev->rf[word -1 ]; }static inline void rt2x00_rf_write (struct rt2x00_dev *rt2x00dev,const unsigned int word,u32 data) { - rt2x00dev->rf[word] = data; +BUG_ON (word <1 || word > rt2x00dev->ops->rf_size /sizeof (u32)); + rt2x00dev->rf[word -1 ] = data; }/*
net/mac80211/agg-tx.c +8 -0
@@ -381,6 +381,14 @@ static void ieee80211_agg_splice_packets(struct ieee80211_local *local, &local->hw, queue, IEEE80211_QUEUE_STOP_REASON_AGGREGATION); +if (!(sta->ampdu_mlme.tid_state_tx[tid] &HT_ADDBA_REQUESTED_MSK )) +return ; + +if (WARN (!sta->ampdu_mlme.tid_tx[tid], +"TID %d gone but expected when splicing aggregates from" +"the pending queue\n" , tid)) +return ; +if (!skb_queue_empty (&sta->ampdu_mlme.tid_tx[tid]->pending)) {spin_lock_irqsave (&local->queue_stop_reason_lock, flags);/* mark queue as pending, it is stopped already */
Signature · 2 lines
John W. Linville Someday the world will need a hero, and you [email protected] might be all we have. Be ready.
From: "John W. Linville" <[email protected]>
Date: Fri, 14 Aug 2009 10:12:24 -0400
Quoted 2 lines
A couple more squeakers for 2.6.31...one avoids a panic related to 802.11n, the other avoids some memory corruption with rt2x00 devices.
Pulled, thanks John.