Re: cvs commit: src/sys/amd64/include _types.h src/sys/i386/include _types.h src/sys/net if_bridge.c src/sys/netinet ip_var.h src/sys/netinet6 ip6_var.h

[ Available lists | Index of cvs-src | Month of Jul 2005 | Week of 4 Jul 2005 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Peter Grehan <grehan@freebsd.org>
Date
4 Jul 2005 09:40:49
Subject
Re: cvs commit: src/sys/amd64/include _types.h src/sys/i386/include _types.h src/sys/net if_bridge.c src/sys/netinet ip_var.h src/sys/netinet6 ip6_var.h
Message-ID
42C90419.8070509@freebsd.org


[ Hide this part ]
>   Check the alignment of the IP header before passing the packet up to the
> packet filter. This would cause a panic on architectures that require strict
> alignment such as sparc64 (tier1) and ia64/ppc (tier2).

FYI, any modern ppc implementation doesn't require strict alignment
for integer load/stores though there's a performance penalty for having
to split the access into smaller ones.

later,

Peter.


Elapsed time: 0.137 seconds