Re: TCP Segmentation Offloading (TSO)

From: David S. Miller (davem@redhat.com)
Date: Tue Sep 03 2002 - 16:05:55 EST


   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/



This archive was generated by hypermail 2b29 : Sat Sep 07 2002 - 22:00:19 EST