I'm not familiar enough with the tcp code to know if this patch
(against -ac6) is a solution, band-aid, or, in fact, wrong, but
I've run with it (on -ac3) and haven't seen the errors for over
twelve hours, which is three times longer than it had been able to
go without it coming up.
See the fix I put in 2.4.1-pre2, which is:
diff -u --recursive --new-file v2.4.0/linux/net/ipv4/tcp.c linux/net/ipv4/tcp.c
--- v2.4.0/linux/net/ipv4/tcp.c Tue Nov 28 21:53:45 2000
+++ linux/net/ipv4/tcp.c Wed Jan 10 14:12:12 2001
@@ -954,7 +954,7 @@
*/
skb = sk->write_queue.prev;
if (tp->send_head &&
- (mss_now - skb->len) > 0) {
+ (mss_now > skb->len)) {
copy = skb->len;
if (skb_tailroom(skb) > 0) {
int last_byte_was_odd = (copy % 4);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/