* [PATCH] NET: mac80211 - fix missed mutex unlock
@ 2007-12-03 10:50 Cyrill Gorcunov
2007-12-03 22:29 ` Michael Wu
0 siblings, 1 reply; 2+ messages in thread
From: Cyrill Gorcunov @ 2007-12-03 10:50 UTC (permalink / raw)
To: Michael Wu; +Cc: Andrew Morton, LKML, linux-wireless
[-- Attachment #1: Type: text/plain, Size: 144 bytes --]
This patch does fix missed mutex unlock. Please see it attached.
(Can't send it as a plain text patch - have only IE based mail access)
Cyrill
[-- Attachment #2: NET-mac80211-fix-missed-mutex-unlock.patch --]
[-- Type: text/plain, Size: 741 bytes --]
From: Cyrill Gorcunov <gorcunov@gmail.com>
Date: Mon, 3 Dec 2007 13:36:58 +0300
Subject: [PATCH] NET: mac80211 - fix missed mutex unlock
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---
net/mac80211/ieee80211_rate.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/net/mac80211/ieee80211_rate.c b/net/mac80211/ieee80211_rate.c
index 7254bd6..3260a4a 100644
--- a/net/mac80211/ieee80211_rate.c
+++ b/net/mac80211/ieee80211_rate.c
@@ -33,6 +33,7 @@ int ieee80211_rate_control_register(struct rate_control_ops *ops)
if (!strcmp(alg->ops->name, ops->name)) {
/* don't register an algorithm twice */
WARN_ON(1);
+ mutex_unlock(&rate_ctrl_mutex);
return -EALREADY;
}
}
--
1.5.3.5.1481.g9dcf
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] NET: mac80211 - fix missed mutex unlock
2007-12-03 10:50 [PATCH] NET: mac80211 - fix missed mutex unlock Cyrill Gorcunov
@ 2007-12-03 22:29 ` Michael Wu
0 siblings, 0 replies; 2+ messages in thread
From: Michael Wu @ 2007-12-03 22:29 UTC (permalink / raw)
To: Cyrill Gorcunov; +Cc: Andrew Morton, LKML, linux-wireless
[-- Attachment #1: Type: text/plain, Size: 278 bytes --]
On Monday 03 December 2007 05:50:38 Cyrill Gorcunov wrote:
> This patch does fix missed mutex unlock. Please see it attached.
> (Can't send it as a plain text patch - have only IE based mail access)
>
> Cyrill
Acked-by: Michael Wu <flamingice@sourmilk.net>
Thanks,
-Michael Wu
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 194 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-03 22:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-03 10:50 [PATCH] NET: mac80211 - fix missed mutex unlock Cyrill Gorcunov
2007-12-03 22:29 ` Michael Wu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).