- ieee80211softmac-fix-errors-related-to-the-work_struct-changes.patch removed from -mm tree

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

 



The patch titled
     ieee80211softmac: fix errors related to the work_struct changes
has been removed from the -mm tree.  Its filename was
     ieee80211softmac-fix-errors-related-to-the-work_struct-changes.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: ieee80211softmac: fix errors related to the work_struct changes
From: Ulrich Kunitz <kune@xxxxxxxxxxxxxx>

The signature of work functions changed recently from a context pointer to
the work structure pointer.  This caused a problem in the ieee80211softmac
code, because the ieee80211softmac_assoc_work function has been called
directly with a parameter explicitly casted to (void*).  This compiled
correctly but resulted in a softlock, because mutex_lock was called with
the wrong memory address.

The patch fixes the problem.  Softmac works again and this fixes the problem I
mentioned earlier in the zd1211rw rx tasklet patch.

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

 net/ieee80211/softmac/ieee80211softmac_assoc.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -puN net/ieee80211/softmac/ieee80211softmac_assoc.c~ieee80211softmac-fix-errors-related-to-the-work_struct-changes net/ieee80211/softmac/ieee80211softmac_assoc.c
--- a/net/ieee80211/softmac/ieee80211softmac_assoc.c~ieee80211softmac-fix-errors-related-to-the-work_struct-changes
+++ a/net/ieee80211/softmac/ieee80211softmac_assoc.c
@@ -167,7 +167,7 @@ static void
 ieee80211softmac_assoc_notify_scan(struct net_device *dev, int event_type, void *context)
 {
 	struct ieee80211softmac_device *mac = ieee80211_priv(dev);
-	ieee80211softmac_assoc_work((void*)mac);
+	ieee80211softmac_assoc_work(&mac->associnfo.work.work);
 }
 
 static void
@@ -177,7 +177,7 @@ ieee80211softmac_assoc_notify_auth(struc
 
 	switch (event_type) {
 	case IEEE80211SOFTMAC_EVENT_AUTHENTICATED:
-		ieee80211softmac_assoc_work((void*)mac);
+		ieee80211softmac_assoc_work(&mac->associnfo.work.work);
 		break;
 	case IEEE80211SOFTMAC_EVENT_AUTH_FAILED:
 	case IEEE80211SOFTMAC_EVENT_AUTH_TIMEOUT:
_

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

origin.patch
git-wireless.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