Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2007 21:53:12 +0800
From:      Kevin Lo <kevlo@kevlo.org>
To:        Leonardo Midolo <leo_midolo@yahoo.it>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Panic 7.0 BETA-3 (page fault) using D-Link DWL-G122
Message-ID:  <1197640392.6307.3.camel@monet>
In-Reply-To: <1197629943.6054.5.camel@leo-laptop.homeunix.net>
References:  <1196593676.6051.19.camel@leo-laptop.homeunix.net> <20071213070051.GA52728@freebsd.weongyo.org> <1197629943.6054.5.camel@leo-laptop.homeunix.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-vxePk/qQXnAban4Tt0vf
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Leonardo Midolo wrote:
> Thanks for your reply,
> I downloaded the if_rum.c rev 1.15 and recompiled the kernel (BETA-3, 2
> dec). I still get a page fault:

Please try attached patch, thanks.

> Thanks,
> best regards.
> 
> Leonardo Midolo

	Kevin

--=-vxePk/qQXnAban4Tt0vf
Content-Disposition: attachment; filename=patch-if_rum.c
Content-Type: text/x-patch; name=patch-if_rum.c; charset=UTF-8
Content-Transfer-Encoding: 7bit

--- if_rum.c.orig	2007-12-14 21:37:20.000000000 +0800
+++ if_rum.c	2007-12-14 21:45:46.000000000 +0800
@@ -839,6 +839,9 @@
 	struct rum_softc *sc = data->sc;
 	struct ifnet *ifp = sc->sc_ic.ic_ifp;
 
+	if (!priv)
+		return;
+
 	if (data->m != NULL && data->m->m_flags & M_TXCB)
 		ieee80211_process_callback(data->ni, data->m, 0/*XXX*/);
 

--=-vxePk/qQXnAban4Tt0vf--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1197640392.6307.3.camel>