Re: [UPDATE] zerocopy.. While working on ip.h stuff

From: Craig Milo Rogers (rogers@ISI.EDU)
Date: Mon Feb 26 2001 - 21:31:59 EST

>> a competing philosophy that said that the IP checksum must be
>> recomputed incrementally at routers to catch hardware problems in the
>ah.. we do recalculate IP Checksums now.. when we update any of the
>timestamp rr options etc..

        But, do you do it incrementally? By which I mean: subtract
(appropriately) the old value of the octet from the existing checksum,
field in the packet then add (appropriately) the new value of the
octet to the checksum? Simply recalculating the IP checksum from
scratch can generate a "correct" checksum for a packet that was
damaged*** while waiting around in memory.

        I don't know if people worry about this now, but 20 years ago
there was a fuss about it. Further discussion offline, please.

                                        Craig Milo Rogers
*** Maybe by hardware trouble, or maybe because someone followed a bad
    pointer and stomped on part of the header.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Feb 28 2001 - 21:00:13 EST