This is a note to let you know that I've just added the patch titled
mac80211: fix ethtool stats for non-station interfaces
to the 3.10-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
mac80211-fix-ethtool-stats-for-non-station-interfaces.patch
and it can be found in the queue-3.10 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From e13bae4f807401729b3f27c7e882a96b8b292809 Mon Sep 17 00:00:00 2001
From: Johannes Berg <[email protected]>
Date: Mon, 8 Jul 2013 10:43:31 +0200
Subject: mac80211: fix ethtool stats for non-station interfaces
From: Johannes Berg <[email protected]>
commit e13bae4f807401729b3f27c7e882a96b8b292809 upstream.
As reported in https://bugzilla.kernel.org/show_bug.cgi?id=60514,
the station loop never initialises 'sinfo' and therefore adds up
a stack values, leaking stack information (the number of times it
adds values is easily obtained another way.)
Fix this by initialising the sinfo for each station to add.
Signed-off-by: Johannes Berg <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
net/mac80211/cfg.c | 2 ++
1 file changed, 2 insertions(+)
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -652,6 +652,8 @@ static void ieee80211_get_et_stats(struc
if (sta->sdata->dev != dev)
continue;
+ sinfo.filled = 0;
+ sta_set_sinfo(sta, &sinfo);
i = 0;
ADD_STA_STATS(sta);
}
Patches currently in stable-queue which might be from [email protected]
are
queue-3.10/mac80211-fix-ethtool-stats-for-non-station-interfaces.patch
queue-3.10/mac80211-minstrel_ht-fix-cck-rate-sampling.patch
queue-3.10/iwlwifi-mvm-fix-l2p-ba-ressources-leak.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html