+ ieee80211softmac-fix-mutex_lock-at-exit-of-ieee80211_softmac_get_genie.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     ieee80211softmac: Fix mutex_lock at exit of ieee80211_softmac_get_genie
has been added to the -mm tree.  Its filename is
     ieee80211softmac-fix-mutex_lock-at-exit-of-ieee80211_softmac_get_genie.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: ieee80211softmac: Fix mutex_lock at exit of ieee80211_softmac_get_genie
From: Ulrich Kunitz <kune@xxxxxxxxxxxxxx>

ieee80211softmac_wx_get_genie locks the associnfo mutex at function exit.

Signed-off-by: Ulrich Kunitz <kune@xxxxxxxxxxxxxx>
Acked-by: Michael Buesch <mb@xxxxxxxxx>
Cc: <stable@xxxxxxxxxx>
Cc: "John W. Linville" <linville@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 net/ieee80211/softmac/ieee80211softmac_wx.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN net/ieee80211/softmac/ieee80211softmac_wx.c~ieee80211softmac-fix-mutex_lock-at-exit-of-ieee80211_softmac_get_genie net/ieee80211/softmac/ieee80211softmac_wx.c
--- a/net/ieee80211/softmac/ieee80211softmac_wx.c~ieee80211softmac-fix-mutex_lock-at-exit-of-ieee80211_softmac_get_genie
+++ a/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;
 }
_

Patches currently in -mm which might be from kune@xxxxxxxxxxxxxx are

origin.patch
ieee80211softmac-fix-errors-related-to-the-work_struct-changes.patch
zd1211rw-call-ieee80211_rx-in-tasklet.patch
ieee80211softmac-fix-mutex_lock-at-exit-of-ieee80211_softmac_get_genie.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux