The patch titled NET: mac80211: fix inappropriate memory freeing has been added to the -mm tree. Its filename is net-mac80211-fix-inappropriate-memory-freeing.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: NET: mac80211: fix inappropriate memory freeing From: Cyrill Gorcunov <gorcunov@xxxxxxxxx> 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 <gorcunov@xxxxxxxxx> Acked-by: Michael Wu <flamingice@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- 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 gorcunov@xxxxxxxxx are origin.patch ppc-fix-missed-increment-on-device-interface-counter.patch ppc-chrp-fix-possible-null-pointer-dereference.patch ppc-chrp-fix-possible-null-pointer-dereference-checkpatch-fixes.patch git-sparc64.patch net-mac80211-fix-inappropriate-memory-freeing.patch git-x86.patch ieee80211_rate-missed-unlock.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html