Re: your mail

From: Matthew Wilcox (willy@thepuffingroup.com)
Date: Thu Jan 13 2000 - 10:01:49 EST


On Thu, Jan 13, 2000 at 11:25:47AM +0530, Ajay Agrawal wrote:
> Hi,
> I observer that when the linux IP, fragments the packet, it sends the first
> fragment packet (containing the Transport layer information) at the last. In
> short if the packets arrive in the transmitted order at the destination the
> last fragment is received first and the first fragment at the last.
> Why is it so?

because it allows us to calculate the checksum while the fragments are
being sent, then store it in the first fragment, which is sent last.
It's a cunning little optimisation.

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



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:22 EST