Skip site navigation (1)Skip section navigation (2)
Date:      01 Aug 2001 14:13:25 -0400
From:      Sudish Joseph <sudish@corp.earthlink.net>
To:        Julian Elischer <julian@elischer.org>
Cc:        Thomas Pornin <Thomas.Pornin@ens.fr>, freebsd-net@freebsd.org, freebsd-alpha@freebsd.org
Subject:   Re: PPPoE + Alpha + 32/64 bits
Message-ID:  <yviabslz3ayi.fsf@ra.eng.mindspring.net>
In-Reply-To: <Pine.BSF.4.21.0108011243090.35786-100000@InterJet.elischer.org> (Julian Elischer's message of "Wed, 1 Aug 2001 13:01:12 -0700 (PDT)")
References:  <20010801173624.A13674@bolet.ens.fr> <Pine.BSF.4.21.0108011243090.35786-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer writes:
> can you send us a patch that works for you?
> we can make it #ifdef __Alpha__  or something.

From PR kern/27767:

--- /sys/netgraph/ng_pppoe.c	Sat Nov  4 08:23:16 2000
+++ /sys/netgraph/ng_pppoe.c	Wed Apr  4 22:59:52 2001
@@ -441,7 +441,7 @@
 		if ((hook->private == &privp->debug_hook)
 		||  (hook->private == &privp->ethernet_hook)) 
 			continue;
-		if (uniq.pointer == hook->private)
+		if (uniq.pointer == (void *)(((long) hook->private) << 32))
 			break;
 	}
 	return (hook);

-- 
Sudish Joseph

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




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