>Number: 3412
>Category: port-alpha
>Synopsis: incorrect use of long crashes netbsd/alpha
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Mar 29 23:50:01 1997
>Last-Modified:
>Originator: Ross Harvey
>Organization:
Avalon Computer Systems, Inc.
>Release: NetBSD-current
>Environment:
System: NetBSD epsilon.ghs.com 1.2D NetBSD 1.2D (e) #5: Sat Mar 29 22:32:33 PST 1997 ross@epsilon.ghs.com:/bsd/ross/e alpha
>Description:
Adding "pseudo-device ipfilter 1" to netbsd/alpha will
cause it to crash when ifconfig turns on the interface.
Ipfilter code in netinet/fil.c uses pointer arithmetic to
effectively make structure-to-scalar casts. It uses long when
it really wants an int32 and gets alignment faults that crash
netbsd/alpha. General 64 bit problem, not exactly alpha.
>How-To-Repeat:
Add pseudo-device ipfilter 1. Boot your alpha. 2. Try to come
up multiuser. The first packet or so will halt everything.
>Fix:
Apply patch...