Re: TCP checksum

Thomas Zehetbauer (thomasz@hostmaster.org)
Sun, 26 Jul 1998 00:47:08 +0200 (CEST)


I have applied the enclosed very simple patch so that I can download the mentioned file now.
Maybe someone more experienced with TCP could take look into the checksum calculation.

Thomas

--- linux/net/ipv4/tcp_ipv4.c.old Sun Jul 26 00:38:53 1998
+++ linux/net/ipv4/tcp_ipv4.c Sun Jul 26 00:19:57 1998
@@ -1506,7 +1506,7 @@
len, skb->len,
ntohs(skb->nh.iph->tot_len));
tcp_statistics.TcpInErrs++;
- goto discard_it;
+ /* goto discard_it; */
}
default:
/* CHECKSUM_UNNECESSARY */

-------------------------------------------------
T h o m a s Z e h e t b a u e r ( TZ251 )
PGP encrypted mail preferred - KeyID 96FFCB89
mail pgp-key-request@hostmaster.org
-------------------------------------------------

On Sat, 25 Jul 1998, Smilax Rotundifolia wrote:
> The TCP checksum error is utterly harmless, and the download should still
> be successful regardless of how many errors you received.
>
> Besides, the message is type KERN_DEBUG, which means it does nothing
> harmful. It is simply informative.
>
>
> -----------------------------------------
> | |
> | Fenestrae delendae sunt. |
> | |
> | smilax@mindmeld.dyn.ml.org |
> -----------------------------------------
>

-
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.altern.org/andrebalsa/doc/lkml-faq.html