From: Cyrill Gorcunov Date: Thu, 13 Dec 2007 23:52:12 +0000 (-0800) Subject: iwlwifi3945/4965: fix rate control algo reference leak X-Git-Tag: v2.6.24-rc6~22^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5acc379e52c78db407c73537daff387b179202c;p=pandora-kernel.git iwlwifi3945/4965: fix rate control algo reference leak Fix rate control algo reference leak in case if network device has been failed to register. In this case special flag priv->mac80211_registered is not set and the rate algo reference is not freeing on module unload. That leads to OOPs in further ieee80211 rate register/unregister procedure (by any callee). It should fix the bug #9470 http://bugzilla.kernel.org/show_bug.cgi?id=9470 [akpm@linux-foundation.org: build fix] Signed-off-by: Cyrill Gorcunov Acked-by: Zhu Yi Signed-off-by: Andrew Morton Signed-off-by: John W. Linville --- Reading git-diff-tree failed