Re: 2.6.9-rc1-mm5: TCP oopses

David S. Miller
2004-09-14T04:58:09Z

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);
}