The patch titled
NET: mac80211: fix inappropriate memory freeing
has been removed from the -mm tree. Its filename was
net-mac80211-fix-inappropriate-memory-freeing.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
Subject: NET: mac80211: fix inappropriate memory freeing
From: Cyrill Gorcunov <[EMAIL PROTECTED]>
Fix inappropriate memory freeing in case of requested rate_control_ops was
not found. In this case the list head entity is going to be accidentally
wasted.
Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]>
Acked-by: Michael Wu <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
net/mac80211/ieee80211_rate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN
net/mac80211/ieee80211_rate.c~net-mac80211-fix-inappropriate-memory-freeing
net/mac80211/ieee80211_rate.c
---
a/net/mac80211/ieee80211_rate.c~net-mac80211-fix-inappropriate-memory-freeing
+++ a/net/mac80211/ieee80211_rate.c
@@ -59,11 +59,11 @@ void ieee80211_rate_control_unregister(s
list_for_each_entry(alg, &rate_ctrl_algs, list) {
if (alg->ops == ops) {
list_del(&alg->list);
+ kfree(alg);
break;
}
}
mutex_unlock(&rate_ctrl_mutex);
- kfree(alg);
}
EXPORT_SYMBOL(ieee80211_rate_control_unregister);
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
origin.patch
git-powerpc.patch
git-x86.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html