Messages in this thread |  | | From | kuznet@ms2 ... | Subject | Re: Why is TCP checksum calc split between init & complete fns? | Date | Tue, 22 Aug 2000 21:01:24 +0400 (MSK DST) |
| |
Hello!
> OK, thanks. If anyone out there knows, I'd still like to find out > why this is normally only done for TCP packets <= 68 bytes.
Because this length covers all pure ACK frames. Any number 60-68 would be equally good. It was chenged to 76 recently to cover one cacheline though.
> Which function mods the head?
You looked into these functions, you know the answer.
> checks the rest of the packet. Why the split?
Because tcp_checsum_complete() is _not_ called for most of packets during bulk transfer.
Alexey - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |