Subject: kern/18360: wi(4) core dump on sparc
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mrg@eterna.com.au>
List: netbsd-bugs
Date: 09/21/2002 22:03:40
>Number: 18360
>Category: kern
>Synopsis: wi(4) core dump on sparc
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Sep 21 05:25:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: matthew green
>Release: NetBSD 1.6H
>Organization:
people's front against (bozotic) www (softwar foundation)
>Environment:
System: NetBSD fish-dances.eterna.com.au 1.6H NetBSD 1.6H (_fish_) #114: Fri Sep 13 14:37:50 EST 2002 mrg@fish-dances.eterna.com.au:/var/_fish_ i386
Architecture: i386
Machine: i386
>Description:
using hostap mode on a sparc causes the machine to crash. this
is because of the stupid addr_cmp() inline function in wi.c.
>How-To-Repeat:
use wi0 hostap mode on a sparc, or presumably any alignment
forcing architecture.
>Fix:
#define addr_cmp(a,b) memcmp(a,b,6)
? this works for me just fine. isn't there an ether_cmp as well?
>Release-Note:
>Audit-Trail:
>Unformatted: