[lkml]   [2000]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Why is TCP checksum calc split between init & complete fns?

    > 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.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 12:37    [W:0.019 / U:1.436 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site