lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <45855CFC.7010609@lwfinger.net>
Date:	Sun, 17 Dec 2006 09:06:36 -0600
From:	Larry Finger <larry.finger@...inger.net>
To:	Ben Collins <ben.collins@...ntu.com>
CC:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Martin Pitt <martin.pitt@...ntu.com>, netdev@...r.kernel.org
Subject: Re: OOPS: 2.6.20-rc1 in ieee80211softmac_get_network_by_bssid_locked()

Ben Collins wrote:
> Kernel is 2.6.20-rc1, SMP, voluntary-preempt.
> 
> CC'd Martin, since he was the original reporter.
> 
> [  110.701863] ADDRCONF(NETDEV_UP): eth0: link is not ready
> [  110.813273] Unable to handle kernel paging request for data at address 0x00000000
> [  110.813291] Faulting instruction address: 0xf24124c4
> [  110.813306] Oops: Kernel access of bad area, sig: 11 [#1]

Is this a vanilla 2.6.20-rc1, or does it have the patch listed below? This patch is needed to
complete the changes in work struct introduced with .20.

Larry
---

diff --git a/net/ieee80211/softmac/ieee80211softmac_assoc.c 
b/net/ieee80211/softmac/ieee80211softmac_assoc.c
index eec1a1d..a824852 100644
--- a/net/ieee80211/softmac/ieee80211softmac_assoc.c
+++ b/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:

View attachment "work_struct2" of type "text/plain" (2019 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ