Re: [parisc-linux] documented Oops running big-endian reiserfs on parisc architecture

From: Andi Kleen (ak@suse.de)
Date: Mon Sep 03 2001 - 03:41:05 EST


On Mon, Sep 03, 2001 at 01:15:30AM -0700, David S. Miller wrote:
> From: Andi Kleen <ak@suse.de>
> Date: 03 Sep 2001 09:29:12 +0200
>
> And also everybody connected to the internet needs them, because you can
> create arbitarily unaligned TCP/UDP/ICMP headers using IP option byte sized
> NOPs.
>
> IP header length is measured in octets, so how is this possible?
> :-)

Sorry that came out wrong. You can in theory generate unaligned IP options this way, but the
kernel handles this correctly using memcpy. What it doesn't handle is unaligned TCP options
(e.g. timestamps); which you can create using TCP option byte fillers.

Also the 4 byte alignment of the header doesn't help much when the driver didn't cooperate.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Sep 07 2001 - 21:00:17 EST