Re: TCP checksum

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 26 Jul 1998 00:30:01 +0100 (BST)


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

Thats basically suicide. The checksum is wrong so I'll download a corrupt file
isnt a fix even to your problem

> tcp_statistics.TcpInErrs++;
> - goto discard_it;
> + /* goto discard_it; */

Instead can you dump the packet out in hex at this point. That way someone
can both add it up by hand and by software to check the Linux routines

Alan

-
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