Re: Ooops with 2.1.90 when downing ppp connection

David S. Miller (davem@dm.cobaltmicro.com)
Sun, 22 Mar 1998 10:49:21 -0800


Date: Sun, 22 Mar 1998 10:30:31 -0800 (PST)
From: Robert Woodcock <rcw@oz.net>

TCPv4 bad checksum from 193.225.82.68:0050 to 208.154.104.103:0440, len=1480/1480/1500
(8 of those)
TCPv4 bad checksum from 130.207.7.21:0014 to 208.154.104.103:0459, len=1480/1480/1500
(19 of those)

I posted a fix for this yesterday, in net/ipv4/tcp.c:tcp_do_sendmsg()
change the line which reads:

last_byte_was_odd = (copy & 1);

to be instead

last_byte_was_odd = (copy % 4);

checksum messages should disappear.

Later,
David S. Miller
davem@dm.cobaltmicro.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu