From: Michael Buesch <mb@bu3sch.de>
To: stable@kernel.org
Cc: netdev@vger.kernel.org,
"John W. Linville" <linville@tuxdriver.com>,
Andrew Morton <akpm@osdl.org>,
Johannes Berg <johannes@sipsolutions.net>,
dsd@gentoo.org
Subject: Re: [PATCH] ieee80211softmac: Fix mutex_lock at exit of ieee80211_softmac_get_genie
Date: Sun, 10 Dec 2006 18:39:28 +0100 [thread overview]
Message-ID: <200612101839.28687.mb@bu3sch.de> (raw)
In-Reply-To: <20061210172701.GA29871@p15091797.pureserver.info>
This is
Signed-off-by: Michael Buesch <mb@bu3sch.de>
and also to be put into the -stable tree.
On Sunday 10 December 2006 18:27, Ulrich Kunitz wrote:
> ieee80211softmac_wx_get_genie locks the associnfo mutex at
> function exit. This patch fixes it. The patch is against Linus'
> tree (commit af1713e0).
>
> Signed-off-by: Ulrich Kunitz <kune@deine-taler.de>
> ---
> net/ieee80211/softmac/ieee80211softmac_wx.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/net/ieee80211/softmac/ieee80211softmac_wx.c b/net/ieee80211/softmac/ieee80211softmac_wx.c
> index 480d72c..fa2f7da 100644
> --- a/net/ieee80211/softmac/ieee80211softmac_wx.c
> +++ b/net/ieee80211/softmac/ieee80211softmac_wx.c
> @@ -463,7 +463,7 @@ ieee80211softmac_wx_get_genie(struct net
> err = -E2BIG;
> }
> spin_unlock_irqrestore(&mac->lock, flags);
> - mutex_lock(&mac->associnfo.mutex);
> + mutex_unlock(&mac->associnfo.mutex);
>
> return err;
> }
--
Greetings Michael.
next prev parent reply other threads:[~2006-12-10 17:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-10 17:27 [PATCH] ieee80211softmac: Fix mutex_lock at exit of ieee80211_softmac_get_genie Ulrich Kunitz
2006-12-10 17:39 ` Michael Buesch [this message]
2006-12-10 17:44 ` Johannes Berg
2006-12-10 17:51 ` Michael Buesch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200612101839.28687.mb@bu3sch.de \
--to=mb@bu3sch.de \
--cc=akpm@osdl.org \
--cc=dsd@gentoo.org \
--cc=johannes@sipsolutions.net \
--cc=linville@tuxdriver.com \
--cc=netdev@vger.kernel.org \
--cc=stable@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).