* [patch (for 2.6.24?) 1/4] ieee80211_rate: missed unlock
@ 2007-12-18 0:22 akpm
2007-12-18 13:35 ` Johannes Berg
0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2007-12-18 0:22 UTC (permalink / raw)
To: linville; +Cc: linux-wireless, akpm, gorcunov, flamingice
From: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: "John W. Linville" <linville@tuxdriver.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
net/mac80211/ieee80211_rate.c | 1 +
1 file changed, 1 insertion(+)
diff -puN net/mac80211/ieee80211_rate.c~ieee80211_rate-missed-unlock net/mac80211/ieee80211_rate.c
--- a/net/mac80211/ieee80211_rate.c~ieee80211_rate-missed-unlock
+++ a/net/mac80211/ieee80211_rate.c
@@ -33,6 +33,7 @@ int ieee80211_rate_control_register(stru
if (!strcmp(alg->ops->name, ops->name)) {
/* don't register an algorithm twice */
WARN_ON(1);
+ mutex_unlock(&rate_ctrl_mutex);
return -EALREADY;
}
}
_
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [patch (for 2.6.24?) 1/4] ieee80211_rate: missed unlock
2007-12-18 0:22 [patch (for 2.6.24?) 1/4] ieee80211_rate: missed unlock akpm
@ 2007-12-18 13:35 ` Johannes Berg
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2007-12-18 13:35 UTC (permalink / raw)
To: akpm; +Cc: linville, linux-wireless, gorcunov, flamingice
[-- Attachment #1: Type: text/plain, Size: 1091 bytes --]
On Mon, 2007-12-17 at 16:22 -0800, akpm@linux-foundation.org wrote:
> From: Cyrill Gorcunov <gorcunov@gmail.com>
>
> Cc: "John W. Linville" <linville@tuxdriver.com>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
My mistake, good catch.
Acked-by: Johannes Berg <johannes@sipsolutions.net>
> ---
>
> net/mac80211/ieee80211_rate.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff -puN net/mac80211/ieee80211_rate.c~ieee80211_rate-missed-unlock net/mac80211/ieee80211_rate.c
> --- a/net/mac80211/ieee80211_rate.c~ieee80211_rate-missed-unlock
> +++ a/net/mac80211/ieee80211_rate.c
> @@ -33,6 +33,7 @@ int ieee80211_rate_control_register(stru
> if (!strcmp(alg->ops->name, ops->name)) {
> /* don't register an algorithm twice */
> WARN_ON(1);
> + mutex_unlock(&rate_ctrl_mutex);
> return -EALREADY;
> }
> }
> _
> -
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-18 13:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-18 0:22 [patch (for 2.6.24?) 1/4] ieee80211_rate: missed unlock akpm
2007-12-18 13:35 ` Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox