Re: [PATCH] iwlwifi3945/4965 - fix rate control algo reference leak

From: Zhu Yi
Date: Thu Dec 06 2007 - 20:39:46 EST



On Thu, 2007-12-06 at 12:39 +0300, Cyrill Gorcunov wrote:
> From: Cyrill Gorcunov <gorcunov@xxxxxxxxx>
> Subject: [PATCH] iwlwifi3945/4965 - fix rate control algo reference leak
>
> This patch does 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
>
> Signed-off-by: Cyrill Gorcunov <gorcunov@xxxxxxxxx>
> ---
> drivers/net/wireless/iwlwifi/iwl3945-base.c | 1 +
> drivers/net/wireless/iwlwifi/iwl4965-base.c | 1 +
> 2 files changed, 2 insertions(+), 0 deletions(-)

ACK. Thanks for the fix.

John, I think it should be in 2.6.24.

Thanks,
-yi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/