Re: TCP Segmentation Offloading (TSO)

David S. Miller (davem@redhat.com)
Tue, 03 Sep 2002 14:05:55 -0700 (PDT)


From: kuznet@ms2.inr.ac.ru
Date: Tue, 3 Sep 2002 17:22:37 +0400 (MSD)

Dave, look, he says we will oops when sendfiling the last byte of a page,
and will have to call skb_checksum().

It is true. But his patch must be rewritten, bswap is forbidden
on older processors.

Better fix is to verify len >=2 before half-word alignment
test at the beginning of csum_partial. I am not enough of
an x86 coder to hack this up reliably. :-)
-
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/