Re: 2.6.9-rc1-mm5: TCP oopses

From: David S. Miller
Date: Mon Sep 13 2004 - 23:59:20 EST



James, does this make your problem go away?

Thanks for testing.

===== net/ipv4/tcp_output.c 1.57 vs edited =====
--- 1.57/net/ipv4/tcp_output.c 2004-09-12 16:17:23 -07:00
+++ edited/net/ipv4/tcp_output.c 2004-09-13 21:36:59 -07:00
@@ -991,7 +991,7 @@
/* New SKB created, account for it. */
new_factor = TCP_SKB_CB(skb)->tso_factor;
tcp_dec_pcount_explicit(&tp->packets_out,
- new_factor - old_factor);
+ old_factor - new_factor);
tcp_inc_pcount(&tp->packets_out, skb->next);
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/