>>>>> "Andi" == Andi Kleen <ak@xxxxxx> writes:
Andi> On Sun, Dec 17, 2000 at 04:21:14PM +0100, Johannes Erdfelt
>> However, I can't imagine we've made it this long without this
>> being a problem so there must be something I'm missing.
Andi> Nobody apparently tried to use IPX on IA64 yet (due to a
Andi> different ethernet header length it usually has to deal with an
Andi> misaligned header)
Andi> With this there are also plenty of ways to crash an IA64 box
Andi> remotely, e.g. by putting misaligned timestamps into options.
I have been thinking about adding mis-word-aligned read/write macros
to the networking code for this reason. Ie. less generic macros that
will load half words and merge them instead of the very generic
misaligned load macros. This way architectures that do not have a
problem with misaligned word loads but do have mis aligned byte loads
can optimize it away.
I think some of the Alphas have the alignment problems as well.